Scott Lystig Fritchie
fdf78bdbbc
Tweak IsRelevantToMe_p in B10 (more)
...
Last night we hit a rare case of failed convergence.
f was out of sync with the rest of the world.
f: upi=[b,g,f] repairing=[a,c]
The "rest of the world" used a larger chain at:
*: upi=[c,b,g,a], repairing=[f]
And f refused to join the larger chain because of the way that
IsRelevantToMe_p was being calculated before this commit.
Hrrrm, though, I'm not convinced that this particular problem
is fixed 100% by this patch. What if the chain lengths were
the same but also UPI incompatible? e.g. if I remove 'a' from
the "real world (in the partition simulator)" example above:
f: upi=[b,g,f] repairing=[c]
*: upi=[c,b,g], repairing=[f]
Hrmmmmm, I may need to reintroduce the my-recent-adopted-projection-
flapping-like-counter thingie to try to break this kind of
incompatible deadlock.
2015-09-14 13:40:34 +09:00
Scott Lystig Fritchie
62186395ed
Hooray! The weekend's CP work hasn't broken AP, I believe.
2015-09-14 00:04:53 +09:00
Scott Lystig Fritchie
f5901c6cd3
Hey, appears to work for CP mode chain len=3, hooray!
2015-09-13 21:51:20 +09:00
Scott Lystig Fritchie
4fba6c0d33
Adjust converge test conditions slightly
2015-09-13 21:07:54 +09:00
Scott Lystig Fritchie
89f57616a8
Avoid some churn when both latest & newprop are none proj
2015-09-13 17:44:23 +09:00
Scott Lystig Fritchie
04369673b0
MaxFiles static file deletion isn't good for make_zerf(). Add some no-partition scenarios
2015-09-13 16:59:08 +09:00
Scott Lystig Fritchie
f3a0ee91cf
WIP: thread P_calc_current all the way to C100 for CP mode assist
2015-09-13 15:58:45 +09:00
Scott Lystig Fritchie
0a20417682
Adjustments for CP mode (still slightly experimental)
2015-09-13 14:56:28 +09:00
Scott Lystig Fritchie
32c4d39156
Bugfix: set consistency_mode at set_chain_members
2015-09-13 14:16:02 +09:00
Scott Lystig Fritchie
b3ce9f9ab8
A bit less verbose output
2015-09-11 23:08:47 +09:00
Scott Lystig Fritchie
5efec1b6cd
Add upi_unanimous annotation to AP mode
2015-09-11 21:47:05 +09:00
Scott Lystig Fritchie
fe8ff6033d
Make better state transition choices in AP mode
2015-09-11 19:14:41 +09:00
Scott Lystig Fritchie
68f1ff68ee
Bugfix: broken eunit test
2015-09-11 17:52:40 +09:00
Scott Lystig Fritchie
a0c129c16d
Bugfix: wow, a chain state transition sanity check bug
2015-09-11 17:32:52 +09:00
Scott Lystig Fritchie
8df7d58365
Add partition simulator support to fitness service
2015-09-11 16:45:29 +09:00
Scott Lystig Fritchie
efe6ce7894
WIP: small refactoring to prepare for fitness server 'use' of partition simulator
2015-09-11 16:03:49 +09:00
Scott Lystig Fritchie
35e8efeb96
Add timer:sleep() to accomodate machi_chain_manager1_converge_demo
2015-09-11 15:56:02 +09:00
Scott Lystig Fritchie
bbf925d132
Add fault injection method via C100 to test C103 admin down cycle
2015-09-10 18:05:55 +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
c14b9ce50f
Minor cleanup, add more partitions to converge demo
2015-09-10 16:39:15 +09:00
Scott Lystig Fritchie
af94d1c1c3
Bugfix: ExpectedUPI error in A40
2015-09-10 02:15:49 +09:00
Scott Lystig Fritchie
daf3a3d65a
Remove some verbose debugging cruft
2015-09-10 01:47:46 +09:00
Scott Lystig Fritchie
329a5e0682
Bugfix: damn, no idea how many problems this 5 month old bug caused
2015-09-10 01:33:55 +09:00
Scott Lystig Fritchie
5943494d54
Add ExpectedUPI to A40's AmHosedP clause
2015-09-10 00:43:37 +09:00
Scott Lystig Fritchie
10c655ebfe
WIP: fix one source of problems, now shift back to 'TODO this clause needs more review'
2015-09-09 23:59:40 +09:00
Scott Lystig Fritchie
b7aa33c617
Yeah, nearly there. AP fails occasionally in multiple-asymmetric-partition sequence
2015-09-09 23:10:39 +09:00
Scott Lystig Fritchie
72141c8ecb
WIP: split A30 into A30/A31 based on AllHosed
2015-09-09 21:06:40 +09:00
Scott Lystig Fritchie
5029911b52
WIP: remove verbose goop
2015-09-09 20:46:52 +09:00
Scott Lystig Fritchie
38ea36fc1c
WIP: Stand back, I'm going to try math! ... It works, {redacted}!
2015-09-09 20:45:57 +09:00
Scott Lystig Fritchie
27891bc5e9
WIP: 'broadcast'/spam works! async reminder ticks remain!
2015-09-09 19:14:52 +09:00
Scott Lystig Fritchie
dd095f117f
Derp, fix smoke_test() for machi_fitness:map_set()
2015-09-09 16:49:27 +09:00
Scott Lystig Fritchie
21015efcbb
WIP: Stand back, I'm going to try CRDTs!
2015-09-08 19:13:03 +09:00
Scott Lystig Fritchie
7af863d840
Add stubs of machi_fitness server
2015-09-08 16:13:07 +09:00
Scott Lystig Fritchie
185c9eb313
WIP: add failing eunit placeholder for spam
2015-09-07 15:38:23 +09:00
Scott Lystig Fritchie
c7684f660c
WIP: Friday evening/Monday morning, laying groundwork for spam "broadcast"
2015-09-07 15:20:10 +09:00
Scott Lystig Fritchie
4376ce9ec1
Remove all flap counting and inner projection stuff
2015-09-04 17:17:49 +09:00
Scott Lystig Fritchie
42aeecd9db
Fix machi_projection_store_test error
2015-09-04 15:24:16 +09:00
Scott Lystig Fritchie
3c1026da28
WIP: too tired to continue tonight
2015-09-01 22:10:45 +09:00
Scott Lystig Fritchie
4378ef7b54
Bugfix: inner->outer proj @ A30
2015-09-01 00:51:46 +09:00
Scott Lystig Fritchie
2e2f5f44c4
Another tweak to private_projections_are_stable()
2015-09-01 00:51:12 +09:00
Scott Lystig Fritchie
e79265228e
Bugfix: more correct for inner->outer sanity transition
2015-08-31 22:14:28 +09:00
Scott Lystig Fritchie
1e5d58b22d
Bugfix: more to ignore in make_basic_comparison_stable()
2015-08-31 17:57:37 +09:00
Scott Lystig Fritchie
bce225a200
Bugfix: a30_make_inner_projection() ignore newprop down list if none proj
2015-08-31 17:03:12 +09:00
Scott Lystig Fritchie
a095e0cfc3
Bugfix: ignore creation_time in make_comparison_stable()
2015-08-31 15:40:19 +09:00
Scott Lystig Fritchie
c637939cc2
Bugfix: A29 should trigger if EpochID (not Epoch# alone) differs
2015-08-31 15:21:17 +09:00
Scott Lystig Fritchie
5422dc45c2
Bugfix: derp in A29 revival
2015-08-31 14:44:05 +09:00
Scott Lystig Fritchie
004c686c8c
WIP: remove make_zerf() from calc_projection(); add make_zerf() to resurrected A29. Status: broken, needs work
2015-08-30 20:39:58 +09:00
Scott Lystig Fritchie
a449025e8b
Bugfix: epoch handling around none proj: epoch 0 only at first bootstrap!
2015-08-30 19:53:47 +09:00
Scott Lystig Fritchie
823b47bef3
Bugfix: convergence property for CP mode, again
2015-08-30 19:52:31 +09:00