From 50b419d0a447159f70dddba8f3c39af7dfbf4168 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 5 Apr 2021 10:34:19 -0500 Subject: [PATCH] raft: print local server ID when opening RAFT database Signed-off-by: Dan Williams Signed-off-by: Ben Pfaff --- ovsdb/raft.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ovsdb/raft.c b/ovsdb/raft.c index e06c1f1ab..5bb901fd4 100644 --- a/ovsdb/raft.c +++ b/ovsdb/raft.c @@ -1065,6 +1065,8 @@ raft_open(struct ovsdb_log *log, struct raft **raftp) raft_reset_ping_timer(raft); raft_reset_election_timer(raft); + VLOG_INFO("local server ID is "SID_FMT, SID_ARGS(&raft->sid)); + *raftp = raft; hmap_insert(&all_rafts, &raft->hmap_node, hash_string(raft->name, 0)); return NULL;