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

Create a partial index on _deletedOnce instead of sparse index

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0, 1.8.0
    • mongomk
    • None

    Description

      Currently MongoDocmentStore creates a sparse index on _deletedOnce. As discussed here it would better to create a partial Index [1].

      The criteria would be _modified, _deletedOnce : true

      This should only be done if Mongo >= 3.2

      [1] https://docs.mongodb.com/manual/core/index-partial/#index-type-partial

      Attachments

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: