swim: introduce suspicion
Suspicion component is a way how SWIM protects from false-positive failure detections. When the network is slow, or a SWIM node does not manage to process messages in time because of being overloaded, other nodes will not receive ACKs in time, but it is too soon to declare the member dead. The nodes will mark the member as suspected, and will ping it indirectly, via other members. It 1) gives the suspected member more time to respond on ACKs, 2) protects from the case when it is a network problem on particular channels. Part of #3234
Showing
- src/lib/swim/swim.c 161 additions, 21 deletionssrc/lib/swim/swim.c
- src/lib/swim/swim_constants.h 6 additions, 0 deletionssrc/lib/swim/swim_constants.h
- src/lib/swim/swim_proto.c 1 addition, 0 deletionssrc/lib/swim/swim_proto.c
- test/unit/swim.c 57 additions, 19 deletionstest/unit/swim.c
- test/unit/swim.result 19 additions, 11 deletionstest/unit/swim.result
Loading
Please register or sign in to comment