From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id EC7252A00B for ; Mon, 29 Apr 2019 09:34:54 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aRPCnqR-gnJW for ; Mon, 29 Apr 2019 09:34:54 -0400 (EDT) Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id A44DF29C79 for ; Mon, 29 Apr 2019 09:34:54 -0400 (EDT) Received: by mail-lj1-f195.google.com with SMTP id k2so9343775lje.10 for ; Mon, 29 Apr 2019 06:34:54 -0700 (PDT) From: Konstantin Osipov Subject: [tarantool-patches] [PATCH] Do not send IPROTO_VOTE message on 1.9.2 and earlier. Date: Mon, 29 Apr 2019 16:34:41 +0300 Message-Id: <20190429133441.30589-1-kostja@tarantool.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: Konstantin Osipov Some users trying to upgrade see garbage in the log file and get confused. Send vote messages only to the servers which surely understand it. --- src/box/applier.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box/applier.cc b/src/box/applier.cc index 9328c94df..074e166fd 100644 --- a/src/box/applier.cc +++ b/src/box/applier.cc @@ -229,7 +229,7 @@ applier_connect(struct applier *applier) * - they would stop replication upon receiving an unknown * request type. */ - if (applier->version_id >= version_id(1, 9, 0)) { + if (applier->version_id > version_id(1, 9, 2)) { xrow_encode_vote(&row); coio_write_xrow(coio, &row); coio_read_xrow(coio, ibuf, &row); -- 2.20.1