Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-839

Make RepositoryNodeTypeManager only reload changed nodes during cluster update

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.2.0.Final
    • 2.0.0.Final
    • Clustering, JCR
    • None

      The first cluster-aware version of RTNM automatically reloads all node types from the system projection whenever any node type is registered or unregistered elsewhere in the cluster. This is technically correct, but will typically require a lot of extra work. For example, even if only one node type is changed, all 40-odd built-in types as well as any custom types are reloaded. Since the RTNM write lock is held during this operation, this will greatly slow or stop other operations in the repository while the refresh is occurring.

      It should be straightforward to only reload (or unregister) changed nodes instead. This will be a much more efficient implementation of this method.

        1. MODE-839.patch
          8 kB
          Brian Carothers

              bcarothers_jira Brian Carothers (Inactive)
              bcarothers_jira Brian Carothers (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: