Return-Path: X-Original-To: apmail-zookeeper-dev-archive@www.apache.org Delivered-To: apmail-zookeeper-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82B0010376 for ; Sun, 10 Nov 2013 08:20:20 +0000 (UTC) Received: (qmail 42139 invoked by uid 500); 10 Nov 2013 08:19:38 -0000 Delivered-To: apmail-zookeeper-dev-archive@zookeeper.apache.org Received: (qmail 42021 invoked by uid 500); 10 Nov 2013 08:19:22 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 41867 invoked by uid 99); 10 Nov 2013 08:19:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Nov 2013 08:19:18 +0000 Date: Sun, 10 Nov 2013 08:19:17 +0000 (UTC) From: =?utf-8?Q?Germ=C3=A1n_Blanco_=28JIRA=29?= To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ZOOKEEPER-1808) Add version to FLE notifications for 3.4 branch MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ZOOKEEPER-1808?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 13818397#comment-13818397 ]=20 Germ=C3=A1n Blanco commented on ZOOKEEPER-1808: ------------------------------------------ Unless you change this "if(response.buffer.capacity() =3D=3D 40) {" to "if(= response.buffer.capacity() >=3D 40) {", it will not be easy to increase the= size of the message in the future. That means that the version field will = have very limited (if any) use, since changing the first 36 bytes of the me= ssage breaks backwards compatibility with 3.4.5. > Add version to FLE notifications for 3.4 branch > ----------------------------------------------- > > Key: ZOOKEEPER-1808 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1808 > Project: ZooKeeper > Issue Type: Sub-task > Reporter: Flavio Junqueira > Assignee: Flavio Junqueira > Fix For: 3.4.6 > > Attachments: ZOOKEEPER-1808.patch, ZOOKEEPER-1808.patch, ZOOKEEPE= R-1808.patch, ZOOKEEPER-1808.patch > > > Add version to notification messages so that we can differentiate message= s during rolling upgrades. This task is for the 3.4 branch only.=20 -- This message was sent by Atlassian JIRA (v6.1#6144)