[Question posted by a user on YugabyteDB Community Slack]
Does YugabyteDB support Multi-region writes ?
What if the same row was updated in multiple regions ?
How is the conflict resolved?
[Question posted by a user on YugabyteDB Community Slack]
Does YugabyteDB support Multi-region writes ?
What if the same row was updated in multiple regions ?
How is the conflict resolved?
YugabyteDB supports both synchronous and asynchronous replication.
In sync replication, all writes go to the leader, where conflict is resolved (by aborting the transaction or waiting for the other transaction to finish).
In asynchronous replication, the last write wins.
See more details at DocDB replication layer | YugabyteDB Docs