[ https://issues.apache.org/jira/browse/OAK-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger updated OAK-2791: ---------------------------------- Fix Version/s: 1.2.2 Merged into 1.2 branch: http://svn.apache.org/r1675063 > 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, 1.2.2 > > > 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)