Description
A stackdump from a production environment experiencing a hiccup revealed that updates to the authorization filter may be happening with high concurrency (22 threads updating the same filter at the same time). This scenario can occur when there are many searches going on in paralel by the same user while part of the filter needs to be updated. For instance a siteuser. While the index is being updated executing a search on the segment reader is blocked. During this time many threads may start queuing to update the filter. Once the index is unblocked all threads start to simultaneously execute the authorization query on the segment reader. It is better to synchronize such updates to the authorization filter.
Attachments
Issue Links
- relates to
-
REPO-878 Investigate search transactionality
- Closed
-
REPO-1314 [7.9] Make sure old indexes do not need to get their authorized docIdSet re-evaluated upon a delete of a Lucene doc
- Closed
-
REPO-1319 [10.0] Forward port: Make sure old indexes do not need to get their authorized docIdSet re-evaluated upon a delete of a Lucene doc
- Closed