Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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