Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
The observation test added for OAK-4528 shows significant time spent in reading documents from the store when local changes are processed. Since those changes were done on the local cluster node, they should be served from cache and not reach out to the underlying store.
Additional reads happen when new nodes are created on one cluster node and the associated revision is only from the local cluster node. The current code uses the after revision vector as is and therefore also includes revision components from other cluster nodes. Reading such new nodes later on the local cluster node will only use the local revision part for the revision vector and result in a cache miss.