stefan-egli commented on code in PR #1262: URL: https://github.com/apache/jackrabbit-oak/pull/1262#discussion_r1448733382
########## oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollector.java: ########## @@ -1222,6 +1229,29 @@ public void removeGarbage(final VersionGCStats stats) { timer.reset().start(); try { + if (embeddedVerification) { + // embedded verification is done completely independent of DocumentStore + // also, it's done irrespective of dry-run or not + final Iterator<UpdateOp> it = updateOpList.iterator(); + while(it.hasNext()) { + final UpdateOp update = it.next(); + NodeDocument oldDoc = ds.find(Collection.NODES, update.getId()); + if (oldDoc == null) { Review Comment: good find, fixed in https://github.com/apache/jackrabbit-oak/pull/1262/commits/a83aee1a702b2dade42a18a37a683f0c72705fdf -- 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: dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org