From: Konstantin Osipov <kostja@tarantool.org> To: tarantool-patches@freelists.org Cc: Konstantin Osipov <kostja@tarantool.org> 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 [thread overview] Message-ID: <20190429133441.30589-1-kostja@tarantool.org> (raw) 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
reply other threads:[~2019-04-29 13:34 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190429133441.30589-1-kostja@tarantool.org \ --to=kostja@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH] Do not send IPROTO_VOTE message on 1.9.2 and earlier.' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox