smiroslav commented on code in PR #2903:
URL: https://github.com/apache/jackrabbit-oak/pull/2903#discussion_r3259830434
##########
oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentNodeStoreRegistrar.java:
##########
@@ -275,6 +277,11 @@ private SegmentNodeStore register() throws IOException {
}
registerCloseable(store);
+ // OAK-12214: bug-fix toggle (default on) so L2 eviction policy sees
L1 memoised hits
+ registerCloseable(cfg.getWhiteboard().register(FeatureToggle.class,
Review Comment:
Maybe better would be to use utility
`org.apache.jackrabbit.oak.spi.toggle.Feature#newFeature`
--
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]