stefan-egli commented on code in PR #1779:
URL: https://github.com/apache/jackrabbit-oak/pull/1779#discussion_r1829188718
##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStore.java:
##########
@@ -684,6 +691,13 @@ public int getMemory() {
diffCache = builder.getDiffCache(this.clusterId);
+ final Feature prevNoPropFeature = builder.getPrevNoPropCacheFeature();
+ if (prevNoPropFeature == null || !prevNoPropFeature.isEnabled()) {
+ prevNoPropCache = null;
+ } else {
+ prevNoPropCache = builder.buildPrevNoPropCache(this);
+ }
Review Comment:
moved to the builder actually, as a few things need to be checked, done in
https://github.com/apache/jackrabbit-oak/pull/1779/commits/faa44dffb661a8776dcef7d335e239096e17fce4
(will add some more unit tests)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]