Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 78459 invoked from network); 17 Jan 2011 16:46:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jan 2011 16:46:11 -0000 Received: (qmail 22315 invoked by uid 500); 17 Jan 2011 16:46:10 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 21617 invoked by uid 500); 17 Jan 2011 16:46:07 -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 21602 invoked by uid 99); 17 Jan 2011 16:46:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 16:46:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 16:46:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0HGjjTF019118 for ; Mon, 17 Jan 2011 16:45:45 GMT Message-ID: <12994484.16831295282745213.JavaMail.jira@thor> Date: Mon, 17 Jan 2011 11:45:45 -0500 (EST) From: "Gary Dusbabek (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1923) unit tests that validate that message serialization isn't broken in the current version. In-Reply-To: <16405081.74081293740145643.JavaMail.jira@thor> 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-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Dusbabek updated CASSANDRA-1923: ------------------------------------- Attachment: v1-0006-bounce-messages-from-newer-versions.txt v1-0005-0.7-message-serialization-test-binaries.txt v1-0004-build-changes-to-run-serialization-tests.txt v1-0003-Serialization-tests.txt v1-0002-remove-unused-constructor-in-EstimatedHistogram.txt v1-0001-ICompactSerializerTest-assures-serialization-assumptio.txt > unit tests that validate that message serialization isn't broken in the current version. > ---------------------------------------------------------------------------------------- > > Key: CASSANDRA-1923 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1923 > Project: Cassandra > Issue Type: Sub-task > Components: Core > Reporter: Gary Dusbabek > Assignee: Gary Dusbabek > Priority: Minor > Fix For: 0.7.1 > > Attachments: v1-0001-ICompactSerializerTest-assures-serialization-assumptio.txt, v1-0002-remove-unused-constructor-in-EstimatedHistogram.txt, v1-0003-Serialization-tests.txt, v1-0004-build-changes-to-run-serialization-tests.txt, v1-0005-0.7-message-serialization-test-binaries.txt, v1-0006-bounce-messages-from-newer-versions.txt > > > There are two components to this. First, code that will generate the serialized messages. Second, code that will attempt to read the serialized messages. > My plan is to commit this to 0.7.1 with generated serialized messages. Then I will merge that into trunk sans the generation code. A similar process will need to take place when we branch trunk to create 0.8, etc. On second thought, maybe it makes sense to keep the generation code and let it morph as the message formats change. > If the tests ever break in the 0.7 branch, that means we've created a message incompatibility regression that needs to be fixed. If the tests ever break in trunk (post CASSANDRA-1015), it means that something in trunk has changed message serialization compatibility that will need to be restored (via whatever process is used for 1015). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.