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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/04/21 08:53:59 UTC

[jira] [Created] (OAK-2791) Change default for oak.mongo.maxDeltaForModTimeIdxSecs

Marcel Reutegger created OAK-2791:
-------------------------------------

             Summary: Change default for oak.mongo.maxDeltaForModTimeIdxSecs
                 Key: OAK-2791
                 URL: https://issues.apache.org/jira/browse/OAK-2791
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core, mongomk
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger
             Fix For: 1.3.0


OAK-1966 introduced a hint for MongoDB to either use the _id or _modified
index, depending on the time delta of the _modified constraint. The default
value is currently -1, which mean MongoDocumentStore will always pass an _id
hint. I would like to enable the _modified hint for small deltas less than
60 seconds. Now that OAK-2131 is implemented, the number of background updates
is much lower and a query with a _modified constraint will better match
documents that actually have been modified since a given timestamp.



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