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 B49CC11364 for ; Wed, 13 Aug 2014 16:00:15 +0000 (UTC) Received: (qmail 64566 invoked by uid 500); 13 Aug 2014 16:00:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 64536 invoked by uid 500); 13 Aug 2014 16:00:15 -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 64525 invoked by uid 99); 13 Aug 2014 16:00:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2014 16:00:15 +0000 Date: Wed, 13 Aug 2014 16:00:15 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CASSANDRA-6796) StorageProxy may submit hint to itself (with an assert) for CL.Any 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-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-6796. --------------------------------------- Resolution: Duplicate Fix Version/s: (was: 2.0.10) Reproduced In: 2.0.6, 2.0.5 (was: 2.0.5, 2.0.6) The retry loop for batch writes would hint each mutation in the batch, whether or not it was a local write. Fixed by CASSANDRA-7364. > StorageProxy may submit hint to itself (with an assert) for CL.Any > ------------------------------------------------------------------ > > Key: CASSANDRA-6796 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6796 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Viktor Kuzmin > Assignee: Jonathan Ellis > Priority: Minor > > StorageProxy.mutate may produce WriteTimoutException and with ConsistencyLevel.ANY it tries to submitHint. But submitHint function have assertation - we may not send hints to ourself. That may lead to exception (in case we're among natural endpoints) and hint will be not submitted to other endpoints. -- This message was sent by Atlassian JIRA (v6.2#6252)