rishabhdaim commented on PR #2934:
URL: https://github.com/apache/jackrabbit-oak/pull/2934#issuecomment-4634141983
Outside this diff — `CacheWarmingTest.prefetch()` (lines ~138–169):
`prefetch()` still exercises `CacheWarming` directly, so it won't catch a
regression in `DocumentNodeStore.prefetch()` now that prefetch is always-on at
the store layer. Call the store API instead (same assertions):
```diff
- CacheWarming cw = new CacheWarming(ds);
DocumentNodeStore store =
builderProvider.newBuilder().setAsyncDelay(0)
.setDocumentStore(ds).getNodeStore();
...
- cw.prefetch(children, store.getRoot());
+ store.prefetch(children, store.getRoot());
...
- cw.prefetch(paths, store.getRoot());
+ store.prefetch(paths, store.getRoot());
```
--
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]