Comment Comment by luuio > why wouldn't doing the same write twice produce an idempotent resultyou can imagine this:```var thing = KVStore.Get<MyThing>(...);if (things.Checkpoints.Contains(myUuid) == false) { thing.Counter += 1; }KVStore.Update(thing); ```having an etag doesn't help you with retries, where we expect that `thing` could be mutated by another flow between your retries. parent luuio 1 year ago
you can imagine this:
```
var thing = KVStore.Get<MyThing>(...);
if (things.Checkpoints.Contains(myUuid) == false) {
}KVStore.Update(thing); ```
having an etag doesn't help you with retries, where we expect that `thing` could be mutated by another flow between your retries.