Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Docs Required, Release Notes Required
Description
Epoch must be presented as a timestamp and version pair.
Epoch timestamp must represent epoch start time.
Epoch major version must be incremented each time when topology version changed from 0 to 1 (when the cluster started or restarted).
Epoch minor version should be changed on every baseline change.
Node's epoch version must be increased or keeped as is on node join.
Each decreasing must be logged as an error.
Epoch (version and timestamp) must be logged at every topology version change.
This will
- help to determine how many times the cluster was restarted (and make it easier to determine when)
- checks that the part of the cluster which was restarted several times as a standalone/segmented cluster will never join the rest of the cluster with the lower epoch (check some segmentation and management problems)