Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Discovery API 1.0.0
-
None
-
None
Description
As discussed on the list (at [0]) the ClusterView.getId() is currently unspecific about whether the id is stable/persistent or not. The current implementation of it is not stable and returns a new id with every changing cluster view. Without assumptions on the underlying implementation details it is not trivial to provide a stable id. This contrasts to the slingId of an InstanceDescription - which is guaranteed to be stable. A cluster can reshape and join another cluster, hence a cluster id is not trivial to be stable.
The suggestion is to clarify the unstable nature of that id in its javadoc and marking it as deprecated - since there is no use for an unstable id really.
–
[0] - http://markmail.org/message/kf3pydso7eruiwfg
Attachments
Issue Links
- relates to
-
OAK-3672 discovery-lite should not set (cluster)Id for tarMk and mongoMk (was: SegmentDiscoveryLiteService does not persist clusterView.id)
- Closed
-
SLING-3195 Provide a property to uniquely identify a Cluster
- Closed