Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0, 4.0.1, 4.0.2, 4.1, 4.1.1, 4.2
-
4
-
Description
In new indexing mechanism all 4 different independent indexes cannot be commited (flushed) simultaneously.
It could cause performance degradation on big amount of updates.
Explanation of this behaviour is in com.atlassian.jira.index.DefaultIndexEngine.FlushPolicy. Method perform is synchronised on static enum instance which shared across all index writers. There should be another lock used index type (issues, comments etc) based.