Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
Patch
Description
The MongoDocumentStore#query() method uses an expensive TreeLock#acquireExclusive method, introduced in OAK-1897 to avoid caching outdated documents.
It should be possible to avoid acquiring the exclusive lock, by tracking the cache changes that occurs during the Mongo find() operation. When the find() is done, we can update the cache with the received documents if they haven't been invalidated in the meantime.
Attachments
Attachments
Issue Links
- blocks
-
OAK-4320 Use the cache tracker in the RDB Document Store
- Closed
- is related to
-
OAK-4408 RDBDocumentStore: synchronize access to BloomFilter
- Closed
-
OAK-6347 Don't track local changes in the document cache tracker
- Closed
-
OAK-4411 DocumentNodeStore: Improve test coverage for concurrent updates and queries
- Closed
- is required by
-
OAK-4168 Replace the massive lock acquire with cache tracker in bulk createOrUpdate()
- Closed