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
demandé il y a 3 ans568 vues
1 réponse
0
Réponse acceptée

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.

répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions