Versions Compared

Key

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

...

When a peer hosting some partitions fail, lost partitions are repopulated by the peers becoming the new owner of these partitions:

Section
Column
width50%

Image Modified

Column
width50%

Example:

  1. Node 3, hosting some partitions, dies.
  2. The node hosting the partition rebalancing singleton service queries all the nodes in the cluster for the partitions they are owning.
  3. The partition rebalancing service identifies that:
    • some indexes have disappeared and need to be recreated; and
    • the disappeared partitions are to be managed by Node 1.
  4. The partition rebalancing service provides to all the nodes a new partition distribution plan.
  5. Node 1, which is instructed to acquire some lost partitions, queries the cluster for all the sessions belonging to the lost partitions.
  6. Node 1 repopulates the lost partitions based on the responses of the above query.

State Manager

State Manager is responsible for updating the session locations tracked by partitions when sessions are created, evacuated or destroyed:

...