Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6535 Synchronous Lucene Property Indexes
  3. OAK-6779

IndexTracker should check diff on :status node to detect index updates

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.9, 1.8.0
    • lucene
    • None
    • L15

    Description

      Currently IndexTracker while checking for index state updates does a diff till indexPath. For e.g. if index is /oak:index/fooIndex then it would create a SubtreeEditor for path /oak:index/fooIndex and refreshes the index if any change is found under that path.

      With synchronous lucene property indexes now other changes would occur under /oak:index/fooIndex/:property-index which causes the tracker to refresh the index even if no change has occurred in main index. This is mitigated to some extent with OAK-6713 and its use in IndexTracker but not complete.

      For proper fix the diff should check for changes in :status node

      Attachments

        1. OAK-6779-v1.patch
          7 kB
          Chetan Mehrotra

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: