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 00C7710137 for ; Sun, 7 Apr 2013 03:57:17 +0000 (UTC) Received: (qmail 61664 invoked by uid 500); 7 Apr 2013 03:57:16 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 61542 invoked by uid 500); 7 Apr 2013 03:57:16 -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 61513 invoked by uid 99); 7 Apr 2013 03:57:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Apr 2013 03:57:15 +0000 Date: Sun, 7 Apr 2013 03:57:15 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5434) 2.0 CommitLogReplayer doesn't read checksum correctly for old commit logs 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-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624626#comment-13624626 ] Jonathan Ellis commented on CASSANDRA-5434: ------------------------------------------- More generally I don't think I'm really a fan of breaking out linear logic into a separate, non-re-used anyway. :) > 2.0 CommitLogReplayer doesn't read checksum correctly for old commit logs > ------------------------------------------------------------------------- > > Key: CASSANDRA-5434 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5434 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Dave Brosius > Priority: Minor > Fix For: 2.0 > > Attachments: 5434.txt > > > use the CommitLogDescriptor.getMessagingVersion() to determine how to read the checksum. > added tests, as well. some refactors to make tests easier. -- 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