Calling IndexManager.isIndexConsistent() while a foreground reindex is running may lead to corrupted index

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 7.6.12, 7.13.2, 8.0.0
    • Affects Version/s: 7.6.5
    • Component/s: Java API
    • None
    • 7.06
    • Severity 2 - Major

      Summary

      Repeated calls to IndexManager.isIndexConsistent() while a foreground reindex is running may lead to corrupted index.

      Note, that in Jira 7.x the API method that was responsible for determination of whether index is available, IndexManager.isIndexAvailable(), is defective. See JRASERVER-68900.

      This problem was reported and reproduced on Jira 7.6, at the same time we couldn't reproduce it on Jira EAP 8. That being said, Jira 8 and corresponding Jira 7.x versions contain the proper fix.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

            Assignee:
            Unassigned
            Reporter:
            Lukasz Wlodarczyk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: