Details
Description
The DocumentStore API allows for conditional inserts (only add document if not present yet) and updates (using findAndModify() with a condition), but it doesn't allow you to remove a document given some conditions are met.
This feature is required to make sure the VersionGarbageCollector does not remove document that are modified concurrently. See OAK-2778.