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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.20.0
    • Component/s: documentmk
    • Labels:
      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 Marcel Reutegger and Stefan Egli 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

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

              Dates

              • Created:
                Updated:
                Resolved: