Description
The discovery-lite-descriptor introduced with OAK-2844 has a property id that uniquely and persistently identifies a cluster. However, the SegmentDiscoveryLiteService creates this id upon each instance restart (by setting runtimeClusterId).
This should be fixed to have this id persisted somehow.
Note that the consequences of this id changing upon each restart is that the corresponding presumed-to-be-persistent ClusterView.id of the discovery.oak will also change upon restart. Which is a violation of the discovery API and upper level applications might thus misbehave in this case.
Attachments
Issue Links
- is blocked by
-
SLING-5458 support discovery-lite's id==null (by managing the id in discovery.oak)
- Closed
- is related to
-
SLING-3164 Clarify ClusterView.getId (was: Clarify and deprecate ClusterView.getId)
- Closed
-
SLING-3195 Provide a property to uniquely identify a Cluster
- Closed
-
OAK-3529 NodeStore API should expose an Instance ID
- Closed