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 193DB623F for ; Fri, 3 Jun 2011 05:43:30 +0000 (UTC) Received: (qmail 8670 invoked by uid 500); 3 Jun 2011 05:43:30 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 8650 invoked by uid 500); 3 Jun 2011 05:43:29 -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 8639 invoked by uid 99); 3 Jun 2011 05:43:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 05:43:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Fri, 03 Jun 2011 05:43:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5321DF113F for ; Fri, 3 Jun 2011 05:42:47 +0000 (UTC) Date: Fri, 3 Jun 2011 05:42:47 +0000 (UTC) From: "Stu Hood (JIRA)" To: commits@cassandra.apache.org Message-ID: <1827308160.65097.1307079767321.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2118571153.11559.1305322488305.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-2650) AntiEntropyServiceCounterTest writes CounterUpdateColumn to disk 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-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043219#comment-13043219 ] Stu Hood commented on CASSANDRA-2650: ------------------------------------- Just noticed this issue is still open, which is helpful, because I found a new instance of the problem: {{db.RecoveryManagerTest.testRecoverCounter}} is writing a CounterColumn without using CounterMutation. > AntiEntropyServiceCounterTest writes CounterUpdateColumn to disk > ---------------------------------------------------------------- > > Key: CASSANDRA-2650 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2650 > Project: Cassandra > Issue Type: Test > Components: Tests > Reporter: Stu Hood > Assignee: Stu Hood > Priority: Minor > Labels: counters > Fix For: 1.0 > > Attachments: 0001-Make-IMutation-more-uniform-and-apply-IMutation-in-Uti.txt > > > By using an unwrapped RowMutation to apply a counter update, AESCT was applying/flushing a CounterUpdateColumn to disk. I'm still not a fan of the magic that is going on with CUC, but for now fixing misuses is the most reasonable approach. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira