Heisenbug: The concurrent exception in the transaction that will only occur if you observe it

added by DotNetKicks
10/22/2021 2:55:52 PM


Recently we had to tackle a seriously strange bug. A customer reported that under a specific set of circumstances, when loading the database with many concurrent requests, they would get an optimistic concurrency violation from RavenDB. That is the sort of errors that we look at and go: "Well, that is what you expect it to do, no?"