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


##########
oak-run/src/main/java/org/apache/jackrabbit/oak/run/RevisionsCommand.java:
##########
@@ -429,6 +437,7 @@ private VersionGarbageCollector 
bootstrapVGC(RevisionsOptions options, Closer cl
         System.out.println("IncludePaths are : " + 
sortedSet(gc.getFullGCIncludePaths()));
         System.out.println("ExcludePaths are : " + 
sortedSet(gc.getFullGCExcludePaths()));
         System.out.println("FullGcMode is : " + 
VersionGarbageCollector.getFullGcMode());
+        System.out.println("FullGCGeneration is : " + 
options.getFullGcGeneration());

Review Comment:
   ```suggestion
           System.out.println("FullGCGeneration is : " + 
gc.getFullGcGeneration());
   ```



##########
oak-run/src/main/java/org/apache/jackrabbit/oak/run/RevisionsCommand.java:
##########
@@ -429,6 +437,7 @@ private VersionGarbageCollector 
bootstrapVGC(RevisionsOptions options, Closer cl
         System.out.println("IncludePaths are : " + 
sortedSet(gc.getFullGCIncludePaths()));
         System.out.println("ExcludePaths are : " + 
sortedSet(gc.getFullGCExcludePaths()));
         System.out.println("FullGcMode is : " + 
VersionGarbageCollector.getFullGcMode());
+        System.out.println("FullGCGeneration is : " + 
options.getFullGcGeneration());

Review Comment:
   To read values from `VersionGarbageCollector`



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

Reply via email to