[tarantool-patches] [PATCH] Do not send IPROTO_VOTE message on 1.9.2 and earlier.
Konstantin Osipov
kostja at tarantool.org
Mon Apr 29 16:34:41 MSK 2019
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
More information about the Tarantool-patches
mailing list