Description
In SOLR-9310 we added more code that does some fingerprint caching in SolrIndexSearcher. However, the synchronization looks like it could be made more efficient and may have issues with correctness.
Some of the issues:
- Double checked locking needs use of volatile variables to ensure proper memory semantics.
- sync on a ConcurrentHashMap is usually a code smell
Attachments
Attachments
Issue Links
- relates to
-
SOLR-9310 PeerSync fails on a node restart due to IndexFingerPrint mismatch
- Closed