On 9/25/23 10:49, Shawn Heisey wrote:
On 9/25/23 08:53, Dmitri Maziuk wrote:
...
What I found is that when the "add" request comes first, 8.11.2 (at
least) will create a new -- useless -- document for it. I wish it
failed instead.
You might be able to achieve the behavior you want with the optimistic
concurrency feature:
Not in my case, but thanks for the tip: one more thing to file for
future reference.
Anyway, what Walter said: you're racing on threads.
(From your description, relying on the 4.x behaviour was a bad idea in
the first place: what if "create" request e.g. hit a bad sector on a
non-TLER drive and was stuck on i/o for 100x longer?)
Dima