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

Enable a transient cluster-node to connect as invisible to oak discovery

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.20.0
    • documentmk
    • None

    Description

      Currently, if Oak is initialized with read-write access to the DocumentStore (Mongo/RDB) e.g through oak-run, it is made visible to upper layers (e.g. sling discovery) via the oak discovery cluster view. This can cause problems in the actual cluster with the differing topology view and the capabilities advertised and in some circumstances being made a leader.

      In an offline discussion with mreutegg and stefanegli it was decided that its best to expose a flag invisible in the cluserNodes collection/table with which these instances can connect and then these would be ignored by the oak discovery.

      Attachments

        1. OAK-8593-2.patch
          56 kB
          Marcel Reutegger
        2. OAK-8593.patch
          53 kB
          Amit Jain

        Activity

          People

            amitjain Amit Jain
            amitjain Amit Jain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: