Horia Poradici created OAK-11772:
------------------------------------

             Summary: Prevent fullGC checkpoint data from being updated in 
MongoDB when fullGCEnabled = false
                 Key: OAK-11772
                 URL: https://issues.apache.org/jira/browse/OAK-11772
             Project: Jackrabbit Oak
          Issue Type: Task
          Components: mongomk
            Reporter: Horia Poradici


When fullGC (MongoDB garbage collection) is running, the fields 
"fullGCTimeStamp" and "fullGCId" in the MongoDB settings/versionGC collection 
are used to save the checkpoints for each fullGC iteration.
However, these are updated by the code in VersionGCRecommendations.evaluate 
method on each run of RevisionGC (via VersionGarbageCollector.java) even if 
fullGC is disabled (fullGCEnabled is false).
This should be changed so that the fullGC checkpoints are only updated when 
fullGCEnabled = true.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to