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 06F1ACC10 for ; Sat, 19 May 2012 17:03:41 +0000 (UTC) Received: (qmail 62419 invoked by uid 500); 19 May 2012 17:03:41 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 62370 invoked by uid 500); 19 May 2012 17:03:41 -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 62057 invoked by uid 99); 19 May 2012 17:03:41 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2012 17:03:41 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E9CDF14281E for ; Sat, 19 May 2012 17:03:40 +0000 (UTC) Date: Sat, 19 May 2012 17:03:40 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1579228651.31.1337447020959.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2147331972.1166.1337116029971.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-4247) More-efficient serialization for IndexScanCommand and RangeSliceCommand 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-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279585#comment-13279585 ] Jonathan Ellis commented on CASSANDRA-4247: ------------------------------------------- v2 wasn't fully baked yet... taking another stab at it > More-efficient serialization for IndexScanCommand and RangeSliceCommand > ----------------------------------------------------------------------- > > Key: CASSANDRA-4247 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4247 > Project: Cassandra > Issue Type: Improvement > Reporter: Jonathan Ellis > Assignee: Yuki Morishita > Priority: Minor > Fix For: 1.2 > > Attachments: 0001-De-serialize-thrift-object-directly-from-to-stream.patch, 0002-Fix-SerializationsTest.patch > > > These two classes embed a Thrift struct to simplify de/serialization. This means we serialize to byte[] twice on the write path: once to get the size, and again to actually send the message. > We should serialize manually like the other commands in VERSION_12. -- 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