You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2015/03/12 10:35:38 UTC

[jira] [Created] (OAK-2613) Do versionGC more frequently and at adjusted speed

Stefan Egli created OAK-2613:
--------------------------------

             Summary: Do versionGC more frequently and at adjusted speed
                 Key: OAK-2613
                 URL: https://issues.apache.org/jira/browse/OAK-2613
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core, mongomk
    Affects Versions: 1.0.12
            Reporter: Stefan Egli
             Fix For: 1.2


This is a follow-up ticket from [here|https://issues.apache.org/jira/browse/OAK-2557?focusedCommentId=14355322&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14355322] mixed with an offline discussion with [~mreutegg]:
 * we could make the VersionGC play nicely to existing load on the system: it could progress slower if the load is higher and vice-verca. One simple measure could be: if the observation queue is small (eg below 10) then the load is low and it could progress full-speed. Otherwise it could add some artificial sleeping in between.
 * we could run versionGC more regularly than once a day but instead kind of 'continuously' let it run in the background. While the speed of the gc would be adjusted to the load - it also would have to be assured that it doesn't run too slow (and would never finish if instance is under some constant load)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)