Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3672

discovery-lite should not set (cluster)Id for tarMk and mongoMk (was: SegmentDiscoveryLiteService does not persist clusterView.id)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.10
    • 1.3.15, 1.4
    • segmentmk
    • None

    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

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: