stefan-egli commented on code in PR #1262:
URL: https://github.com/apache/jackrabbit-oak/pull/1262#discussion_r1448730378
##########
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:
One is a RevisionVector, the other is just the Revision of the own clusterId
of the same headRevision. It is needed for `getNodeAtRevision`
--
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]