jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Egli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-2613) Do versionGC more frequently and at adjusted speed
Date Thu, 12 Mar 2015 09:35:38 GMT
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

View raw message