Global Table Conflict Resolution - how granular?

0

At what level does global table conflict resolution happen? Is it the entire item that is synced when the 'last writer wins'? Or can the conflict resolution merge changes to separate attributes or attribute sub fields?

If it is per item - it seems as if you would need to make sure each item is only written from one region at a time ever, to avoid losing data.

keith
asked 3 years ago548 views
1 Answer
0
Accepted Answer

The entire view of the latest updated item is what will win out - there is no merging of updates to the same item across regions. This is simple when the writes are idempotent - if they are conditional (using an optimistic locking pattern or similar) you do need to think about keeping strongly consistent reads and writes for a particular item in one region. You can of course make eventually consistent reads in any region.

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions