[Tarantool-patches] [PATCH 11/11] raft: drop redundant argument

Cyrill Gorcunov gorcunov at gmail.com
Thu Nov 12 22:51:21 MSK 2020


It is never used and placed here accidentally.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 src/box/raft.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/box/raft.c b/src/box/raft.c
index ff664a4d1..3f175480c 100644
--- a/src/box/raft.c
+++ b/src/box/raft.c
@@ -772,7 +772,7 @@ raft_sm_schedule_new_term(struct raft *raft, uint64_t new_term)
 static void
 raft_sm_schedule_new_vote(struct raft *raft, uint32_t new_vote)
 {
-	say_info("RAFT: vote for %u, follow", new_vote, raft->volatile_term);
+	say_info("RAFT: vote for %u, follow", new_vote);
 	assert(raft->volatile_vote == 0);
 	assert(raft->leader == 0);
 	assert(raft->state == RAFT_STATE_FOLLOWER);
-- 
2.26.2



More information about the Tarantool-patches mailing list