Details
-
Bug
-
Resolution: Fixed
-
High
-
3.10
-
3.1
-
Description
Currently the searchers are closed via the JIRAProfilingFilter. The problem is that this filter is not mapped to /dwr/*, which gets invoked by the ajax issue picker. This results in searchers being leaked, which end up holding references to index files on the disk, which causes indexing exceptions when re-indexing all issues (particularly when it comes to deleting index files).
This issue only affects JIRA 3.10, in which the issue picker was first implemented.
For a quick fix for JIRA 3.10.1, we should call ThreadLocalQueryProfiler.resetSearchers from teh RequestCleanupFitler, to ensure searchers will be closed for all requests. In the long run (JIRA 3.11) we should move the searchers from teh ThreadLocalQueryProfiler to another class.
The workaround for this problem at the moment is to restart JIRA and re-index your JIRA instance.
Attachments
Issue Links
- was cloned as
-
JRASERVER-13172 Separate out the searchers from the ThreadLocalQueryProfilingFilter
- Closed