Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH] Do not send IPROTO_VOTE message on 1.9.2 and earlier.
@ 2019-04-29 13:34 Konstantin Osipov
  0 siblings, 0 replies; only message in thread
From: Konstantin Osipov @ 2019-04-29 13:34 UTC (permalink / raw)
  To: tarantool-patches; +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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-29 13:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-29 13:34 [tarantool-patches] [PATCH] Do not send IPROTO_VOTE message on 1.9.2 and earlier Konstantin Osipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox