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 15C6C7272 for ; Wed, 7 Dec 2011 08:21:06 +0000 (UTC) Received: (qmail 44071 invoked by uid 500); 7 Dec 2011 08:21:05 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 43961 invoked by uid 500); 7 Dec 2011 08:21:02 -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 43936 invoked by uid 99); 7 Dec 2011 08:21:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 08:21:01 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 08:21:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 04C73103F27 for ; Wed, 7 Dec 2011 08:20:40 +0000 (UTC) Date: Wed, 7 Dec 2011 08:20:40 +0000 (UTC) From: "Vijay (Updated) (JIRA)" To: commits@cassandra.apache.org Message-ID: <245600099.48718.1323246040021.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1546124303.44015.1323142299940.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-3577) TimeoutException When using QuorumEach or ALL consistency on Multi-DC 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-3577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vijay updated CASSANDRA-3577: ----------------------------- Attachment: (was: 0001-removing-mutation-MultiDC-optimization.patch) > TimeoutException When using QuorumEach or ALL consistency on Multi-DC > --------------------------------------------------------------------- > > Key: CASSANDRA-3577 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3577 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.8.8 > Environment: JVM > Reporter: Vijay > Assignee: Vijay > Fix For: 0.8.9 > > Attachments: 0001-Mutation-Optimization-for-MultiDC.patch, 0001-removing-mutation-MultiDC-optimization.patch, 3577.txt > > > Currently we have > 1) StorageProxy.sendMessages() sending messages to the first node in the other DC... > 2) A node in the other DC will remove the ForwardHeader and sendRR (Adding a MessageID to the Queue). > 3) The receiving node receives the mutation, updates and sends the response to the Original Co-ordinator. > 4) Co-Ordinator now checks for the MessageID (which it never had) > All the Quorum_Each updates fail in the co-ordinator, this issue started showing up after CASSANDRA-3472 the code was introduced in CASSANDRA-2138 . > Simple Fix is to remove the optimization in 0.8 and fix it in 1.x because it seems to me like it needs a change to the Message service version. > Possible Solution: We might want send the message ID's to be used by the all the nodes in other DC (Which is currently generated by the node which receives the Forward request see: (2) ). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira