Details
-
Bug
-
Resolution: Fixed
-
Medium
-
7.6.5
-
None
-
7.06
-
Severity 3 - Minor
-
Description
Summary
In Jira API, calling IndexManager.isIndexAvailable() returns true while the node runs foreground indexing. The intended function of the API method is as per the documentation:
Whether this index is available. The index is not available if the index is being rebuilt or recovered. In a clustered environment this reflects only the state on the local node.
Expected result
This call returns false if index is during index recovery or foreground index is being rebuilt on the local node. This call returns true if index is healthy, or background indexing is underway.
Actual result
This call returns false if index is during index recovery. This call returns true if index is healthy, foreground or background is underway.
Note
- Although fix for this problem will be available in future 7.6 and 7.13 versions, vendors building plugins to be compatible across the entire range of 7.x versions are advised not to lean on this method.
- This problem does not affect Jira 8.
Attachments
Issue Links
- is related to
-
JRASERVER-68901 Calling IndexManager.isIndexConsistent() while a foreground reindex is running may lead to corrupted index
- Closed