rishabhdaim commented on code in PR #1262:
URL: https://github.com/apache/jackrabbit-oak/pull/1262#discussion_r1448458006


##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollector.java:
##########
@@ -924,6 +930,7 @@ public DetailedGC(@NotNull RevisionVector headRevision, 
long toModifiedMs, @NotN
             this.timer = createUnstarted();
             // clusterId is not used
             this.revisionForModified = Revision.newRevision(0);
+            this.ownHeadRevision = 
headRevision.getRevision(nodeStore.getClusterId());

Review Comment:
   Why do we need different headRevisions here? We already have a headRevision 
for the whole root/tree.



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

Reply via email to