What is the difference between SERIAL and LOCAL_SERIAL consistency in lightweight transactions?
Last updated
Both are serial consistency levels for lightweight transactions (Paxos-based conditional updates using
IF, e.g.IF NOT EXISTS), set separately from the normal consistency level.SERIALruns Paxos across all datacenters for global linearizability, at the cost of cross-DC latency.LOCAL_SERIALreaches consensus only in the local DC for lower latency. Two DCs can then make conflicting conditional writes.