(no title)
luuio | 8 months ago
when you retry and load the object, you get {count: 12, etag: 3}. how do you know if your previous attempt had successfully persisted or not, or if the updates to the object came from other processes/requests?
you're mixing up conflict handling vs. idempotency
jrochkind1|8 months ago
Anyway, okay, I get that I don't get it, and I get that it does sound terrible, agreed!
luuio|8 months ago
Imagine this: you issued a write, a few things can happen: 1. The callsite crashed, maybe due to an out of memory issue or whatever. You don't know if it succeeded
2. The database returned an acknowledgement, but then the callsite crashed before storing the acknowlwedgement for the next step.
unknown|8 months ago
[deleted]