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

MissingIndexProviderStrategy too eager to set the reindex flag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.10, 1.1.6
    • core
    • None

    Description

      Following OAK-2203, the MissingIndexProviderStrategy will set the reindex flag is a provider is missing. What is doesn't take into account is if the reindex flag is already set to 'true'. If this is the case, it should skip setting it again.

      I've ran into this while working on the cold standby and some 'disabled' type indexes were always getting updated.

      Attachments

        Activity

          People

            stillalex Alex Deparvu
            stillalex Alex Deparvu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: