Is it possible to run a
USE KEYS query that also takes a
I can certainly work around this, but it’s safer for this change if I can re-validate the condition on which I figured out my key set.
A contrived example:
UPDATE Bucket USE KEYS "documentId" SET `Value` = "CORRECT" WHERE `Value` = "WRONG"
My workaround is to gather all the documentIds that have
Value = "WRONG" and pass them into USE KEYS, but that won’t protect against any race condition where value is set to
"NEITHER" in the interim.