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

Implement support for disabling indexes which are replaced with newer index

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.10, 1.8.0
    • Component/s: indexing
    • Labels:

      Description

      For upgrade case in many applications older index type is set to disabled when new index is provisioned. If the new index is async then it would take some time for reindex and till then any query which used to make use of old index would end up traversing the repository

      To avoid such a scenario we should only mark older index as "disabled" only if the newer index is reindex.

        Attachments

        1. OAK-6820-v2.patch
          33 kB
          Chetan Mehrotra
        2. OAK-6820-v1.patch
          19 kB
          Chetan Mehrotra

          Issue Links

            Activity

              People

              • Assignee:
                chetanm Chetan Mehrotra
                Reporter:
                chetanm Chetan Mehrotra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: