mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
raft: print local server ID when opening RAFT database
Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user