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

IndexUpdate should disable superseded indexes only during an async cycle run

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.10
    • 1.7.11, 1.8.0
    • indexing
    • None

    Description

      Once an superseding index is indexed (has :disableIndexesOnNextCycle flag) then IndexUpdate disables the superseded index the next time superseding index is indexed. So, if we have and async index running in nrt mode too - then nrt updates also disable indexes.

      We should have a more controlled disabling action (apart from concurrent nrt/sync updates would likely conflict with each to fail the commit) - do it in async cycle.

      Note: This is only relevant when superseding index is an async index - superseding sync indexes would continue to work as earlier.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            catholicon Vikas Saurabh
            catholicon Vikas Saurabh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment