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
已提问 3 年前568 查看次数
1 回答
0
已接受的回答

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.

已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容