Chetan Mehrotra created OAK-3878:
------------------------------------

             Summary: Avoid caching of NodeDocument while iterating in 
BlobReferenceIterator
                 Key: OAK-3878
                 URL: https://issues.apache.org/jira/browse/OAK-3878
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: documentmk
            Reporter: Chetan Mehrotra
             Fix For: 1.4


{{BlobReferenceIterator}} in DocumentMK makes use if {{DocumentStore}} API to 
query the NodeDocument. This would cause all those NodeDocuments to be added to 
cache in DocumentStore.

As these NodeDocument are only required for BlobGC logic and its not expected 
that this document would read again soon it would be better to skip caching of 
these documents within DocumentStore

Similar requirement exist in VersionGC logic but there we use direct store 
based API which does not add such documents to the cache



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to