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

DocumentNodeStore support for predefined clusterIds should use ClusterNodeInfos

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.21, 1.2.6, 1.3.6
    • 1.2.8, 1.3.10, 1.4
    • core, mongomk, rdbmk

    Description

      We currently support explicit assignment of clusterId (builder.setClusterId()). In this case, DocumentNodeStore uses the specified cluster id and skips all code related to creating/maintaining ClusterNodeInfos.

      This feature is mainly (only?) used for testing (mainly allowing multiple instances to run from the same machine/instance combination). This works, but causes the logic related to ClusterNodeInfo not to be used at all (for instance, LastRevRecovery).

      So we ought to change this config option to use ClusterNodeInfo in a way that is at least similar to real-world use.

      Attachments

        1. cid.diff
          3 kB
          Julian Reschke
        2. OAK-3449.diff
          12 kB
          Julian Reschke

        Issue Links

          Activity

            People

              reschke Julian Reschke
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: