Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.




Gliffy Diagram
namefail node overview
pagePin1
Table of Contents

Basic definitions

...

As servers are organized into ring each node can easily detect failure of its next neighbor node when sending of next discovery message fails.
However process of removing failed node from the ring (there is a special structure called "ring" on each server node which reflects topology view of current node, see ServerImpl#ring field) is not that simple and has to be managed by coordinator. It contains two steps.

600
Gliffy Diagram
size
namejoin fail node overview
pagePin63

Step one

On the first step server detected that it next has failed adds it to the special local map called failedNodes. Using this map it will filter failed nodes from all servers presented in the ring until the second step is completed for each failed node.

...