Scott Lystig Fritchie
1c8e436a64
Fix race #3
2015-10-21 15:01:11 +09:00
UENISHI Kota
3e975f53b8
Allow read_chunk() to return partial chunks
...
This is simply a change of read_chunk() protocol, where a response of
read_chunk() becomes list of written bytes along with checksum. All
related code including repair is changed as such. This is to pass all
tests and not actually supporting partial chunks.
2015-10-19 15:37:17 +09:00
Scott Lystig Fritchie
7439a2738d
Work-around racy query of wedge_status in machi_cr_client_test
2015-10-14 16:28:01 +09:00
Mark Allen
ec9682520a
Fix tests with bad file names.
...
Either catch the {error, bad_arg} tuple or modify the file name to
conform to the machi conventions of prefix^uuid^seqno.
2015-10-13 21:13:12 -05:00
Scott Lystig Fritchie
cbf773215e
TODO MARK add comment for machi_cr_client_test:smoke_test2/0 failure
2015-10-12 15:29:54 +09:00
Scott Lystig Fritchie
8a8c4dcede
Adapt machi_cr_client_test:smoke_test2/0 to change in FLU semantics: partial_write -> unwritten
2015-10-12 14:22:47 +09:00
Scott Lystig Fritchie
41737ae62a
Add delete_admin_down API implementation, oops!
2015-09-10 18:05:18 +09:00
Scott Lystig Fritchie
d45c249e89
Add admin down status API to fitness server
2015-09-10 17:30:11 +09:00
Scott Lystig Fritchie
28335a1310
Add CP mode unwedge. All eunit tests are passing again.
2015-08-26 18:47:39 +09:00
Scott Lystig Fritchie
0d7f6c8d7e
WIP: chain transitions are now fully (?) aware of witness servers
2015-08-06 17:48:31 +09:00
Scott Lystig Fritchie
e9c4e2f98d
WIP: rearrange CP mode projection calc
2015-08-06 15:22:04 +09:00
Scott Lystig Fritchie
dcf532bafd
WIP: Witness test expansion
2015-08-05 18:23:44 +09:00
Scott Lystig Fritchie
e3d9ba2b83
WIP: Witness test expansion
2015-08-05 17:17:25 +09:00
Scott Lystig Fritchie
6e521700bd
WIP: Adding witness_smoke_test_ but it's broken (more)
...
So, the problem is that the chain manager isn't finishing repair
because UPI=[a], and a is a witness, and a can't do the list files etc etc
repair stuff that repairer FLUs need to do.
The best (?) way forward is to add some advance smarts to the
chain manager so that it doesn't propose a UPI of 100% witnesses?
2015-07-21 19:05:04 +09:00
Scott Lystig Fritchie
009b3f44af
Fix eunit test broken by 3f8982cb
2015-07-07 15:01:50 +09:00
Scott Lystig Fritchie
7542fe8225
WIP: all eunit tests are passing again, yay
2015-06-30 16:12:23 +09:00
Scott Lystig Fritchie
3089288338
WIP: giant hairball 13: all unit tests are passing again, yay!
2015-06-29 16:48:06 +09:00
Scott Lystig Fritchie
5ef499ec73
WIP: append_chunk #1
2015-06-23 14:08:10 +09:00
Scott Lystig Fritchie
3c300bb9f1
Add write_chunk() to machi_cr_client.erl
2015-06-19 14:49:09 +09:00
Scott Lystig Fritchie
c1318d3bbb
WIP: wip wip a doowip
2015-06-02 22:13:15 +09:00
Scott Lystig Fritchie
b51473be09
Change eunit fixture to timeout for machi_cr_client_test:smoke_test
2015-06-02 12:40:07 +09:00
Scott Lystig Fritchie
dd4160b963
Add basic {error, bad_checksum} tests to proxy & CR clients
2015-06-02 12:36:51 +09:00
Scott Lystig Fritchie
7ba962e9fb
Fix handling of {error, partial_read}
2015-05-21 15:12:46 +09:00
Scott Lystig Fritchie
b5ddfaf019
Finish basic API for machi_cr_client.erl
2015-05-19 20:04:36 +09:00
Scott Lystig Fritchie
a4266e8aa4
Fix known chain repair bugs, add basic smoke test
2015-05-19 19:32:48 +09:00
Scott Lystig Fritchie
152e487060
WIP: read-repair, new test is failing, yay
2015-05-19 15:15:05 +09:00