-
Bug
-
Resolution: Fixed
-
Medium
-
7.20.0, 8.5.2, 8.5.3
-
None
-
10
-
Severity 2 - Major
-
91
-
Issue Summary
If customer has more than 1024 archived spaces then ArchivedSpacesQuery will throw exception with said 1024 clause limit
Steps to Reproduce
- Make sure we have more than 1024 archived Space
- Visit following place
-
- Confluence dashboard
- Space directory
- Adding "recently-updated-dashboard" macro in a page
Expected Results
No exception and Confluence functions as usual
Actual Results
The below exception is thrown in the xxxxxxx.log file:
2023-09-07 01:45:49,932 ERROR [https-jsse-nio-8443-exec-43] [rest.api.model.ExceptionConverter] convertServiceException No status code found for exception, converting to internal server error : -- url: /rest/api/content/search | userName: mrout | referer: https://sl73wikiapp004.visa.com:8443/index.action | traceId: 8ef89ccc8c4fcfe6 org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024 at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:142)
Note: the above exception caused by ArchivedSpacesQuery load all archived space and converted into Lucence Query
Workaround
Reduce number of Archived Space. Also note that with a fix from https://jira.atlassian.com/browse/CONFSERVER-59315 will prevent the exception to happen but we still need to have a proper fix for ArchivedSpacesQuery
- is resolved by
-
CONFSERVER-59315 Page Properties Report Macro and Content by label Macro show maxClauseCount is set to 1024 when the search filter is too large
- Closed
- is caused by
-
PSR-883 Loading...