Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A7CB10C4D for ; Fri, 26 Jul 2013 15:31:52 +0000 (UTC) Received: (qmail 91482 invoked by uid 500); 26 Jul 2013 15:31:51 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 91434 invoked by uid 500); 26 Jul 2013 15:31:50 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 91296 invoked by uid 99); 26 Jul 2013 15:31:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2013 15:31:50 +0000 Date: Fri, 26 Jul 2013 15:31:50 +0000 (UTC) From: "Aleksey Yeschenko (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5797) DC-local CAS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720883#comment-13720883 ] Aleksey Yeschenko commented on CASSANDRA-5797: ---------------------------------------------- QueryOptions.Codec.encode() writes flags before writing the CL - should be reversed. Otherwise LGTM. > DC-local CAS > ------------ > > Key: CASSANDRA-5797 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5797 > Project: Cassandra > Issue Type: Bug > Components: API > Affects Versions: 2.0 beta 1 > Reporter: Jonathan Ellis > Assignee: Sylvain Lebresne > Priority: Minor > Fix For: 2.0 rc1 > > Attachments: 0001-Thrift-generated-files.txt, 0002-Add-LOCAL_SERIAL-CL.txt, 0003-CQL-and-native-protocol-changes.txt > > > 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: http://www.atlassian.com/software/jira