3 ms·
I'm not 100% sure of this but from the README section on race conditions: "the last writer will always win. This means there is NO serializability guarantee of
by nlh 3y ago
I'm not 100% sure of this but from the README section on race conditions:
"the last writer will always win. This means there is NO serializability guarantee of a transaction spanning multiple tables. This is a design choice, in order to avoid any sort of global locking, and performance."
So it sounds like in your example, whichever node writes last with a given primary key will be the data you'll end up with.
- dilyevsky 3y agoBased on their description of how it works with jetstream i think last insert will fail because it will see the row already exists in jetstream Within a single table they have tx serializability, just not with multiple tables
- deleted 3y ago[deleted]