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 35828D41E for ; Wed, 30 Jan 2013 04:07:14 +0000 (UTC) Received: (qmail 40264 invoked by uid 500); 30 Jan 2013 04:07:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 39639 invoked by uid 500); 30 Jan 2013 04:07:13 -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 39607 invoked by uid 99); 30 Jan 2013 04:07:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2013 04:07:12 +0000 Date: Wed, 30 Jan 2013 04:07:12 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5199) Avoid serializing to byte[] on commitlog append 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-5199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-5199: -------------------------------------- Attachment: 5199-1.2.txt 1.2 version just gets rid of the byte[] caching, since it's never actually re-used. > Avoid serializing to byte[] on commitlog append > ----------------------------------------------- > > Key: CASSANDRA-5199 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5199 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Jonathan Ellis > Assignee: Jonathan Ellis > Priority: Minor > Fix For: 2.0 > > Attachments: 5199-1.2.txt > > > We used to avoid re-serializing RowMutations by caching the byte[] that we read off the wire. We don't do that anymore since we fixed MessagingService to not create intermediate byte[]. So we should serialize the mutation directly to the commitlog. -- 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