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

The standby store shouldn't start the observation subsystem

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0, 1.6.0
    • Component/s: tarmk-standby
    • Labels:
      None

      Description

      The current implementation of SegmentNodeStore unconditionally instantiates a ChangeDispatcher referencing the root node of the repository at the time of instantiation.

      When this occurs in the context of the standby store, the ChangeDispatcher is never notified for changes in the repository content, and the initial repository root is permanently referenced by the ChangeDispatcher. This prevents many segments from being correctly cleaned up from the standby store.

      It would be more appropriate not to instantiate the observation subsystem at all in the context of the standby store, thus preventing spurious references to SegmentId instances to float in memory.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              frm Francesco Mari
              Reporter:
              frm Francesco Mari

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment