cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-5797) DC-local CAS
Date Wed, 24 Jul 2013 16:33:49 GMT


Sylvain Lebresne commented on CASSANDRA-5797:

bq. I like LOCAL_SERIAL over ANY

I think there is some confusion. The suggestion of CL.ANY was for the commit part of Paxos.
That part is basically a standard write (that happens after the paxos algorithm has unfolded
but does impact the visibility of the CAS write by non-serial reads). For that, LOCAL_SERIAL
don't really make sense imo (it's "wrong" even). ANY does is what match the most what happens,
because you are guaranteed the write is replicated somewhere (paxos ensures that) but you
may not be able to see your write right away with normal reads, even at CL.ALL (which is also
something that CL.ANY).  
> DC-local CAS
> ------------
>                 Key: CASSANDRA-5797
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.0
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 2.0.1
> For two-datacenter deployments where the second DC is strictly for disaster failover,
it would be useful to restrict CAS to a single DC to avoid cross-DC round trips.
> (This would require manually truncating {{system.paxos}} when failing over.)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message