Hi,

in the MongoDocumentStore, it depends on what method is used whether conditional checks in the UpdateOp happen or not.

I believe I have copied these checks correctly in RDBDocumentStore, but still wonder why this is needed?

If a call doesn't need conditional checks, why is it made with the checks in the UpdateOp in the first place?

So, as an experiment, I tried to do the checks all the time, and I'm getting

Failed tests: gcSplitDocs[1](org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollectorTest): expected:<PROP_COMMIT_ONLY> but was:<NONE>

Is this expected? I think it would be really good if the DS could do the conditional check all the time; maybe it's worth looking into this?

Best regards, Julian

Reply via email to