Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2791

Change default for oak.mongo.maxDeltaForModTimeIdxSecs

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.2, 1.3.0, 1.4
    • core, mongomk
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mreutegg Marcel Reutegger
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment