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
posta 3 anni fa568 visualizzazioni
1 Risposta
0
Risposta accettata

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.

con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande