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

Create a partial index on _deletedOnce instead of sparse index

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0, 1.8.0
    • Component/s: mongomk
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: