rishabhdaim commented on code in PR #1875: URL: https://github.com/apache/jackrabbit-oak/pull/1875#discussion_r1865984712
########## oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/secondary/SecondaryStoreCache.java: ########## @@ -181,8 +187,8 @@ private AbstractDocumentNodeState findMatchingRoot(RevisionVector rr) { public void contentChanged(@NotNull AbstractDocumentNodeState root) { synchronized (queue){ //TODO Possibly can be improved - queue.add(root); - previousRoots = queue.toArray(EMPTY); + queue.put(root, Boolean.TRUE); + previousRoots = queue.keySet().toArray(EMPTY); Review Comment: same as above. -- 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: oak-dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org