|
|
|
|
|
by wombarly
932 days ago
|
|
Couldn't the library implement a conditional operation using the etag, retrying if it fails? That should solve the consistency guarantee. Ofc its a different matter if you write to the same key in the same file. But that could be solved with special method that allows you to do a setOrUpdate on a key in the json and when retrying the update method is executed again (allowing you to do increments or add a new item to an array) while guaranteeing consistency. |
|