nit0906 commented on code in PR #662:
URL: https://github.com/apache/jackrabbit-oak/pull/662#discussion_r942003183


##########
oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java:
##########
@@ -576,6 +577,8 @@ public Oak with(@NotNull Whiteboard whiteboard) {
             
newSettings.setLimitReads(this.queryEngineSettings.getLimitReads());
             this.queryEngineSettings = new 
AnnotatedQueryEngineSettings(newSettings);
         }
+        Feature prefetchFeature = 
Feature.newFeature(QueryEngineSettings.FT_NAME_PREFETCH_FOR_QUERIES, 
whiteboard);
+        queryEngineSettings.setPrefetchFeature(prefetchFeature);

Review Comment:
   This seems to be causing an NPE in one of the tests in oak-core.



-- 
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]

Reply via email to