Skip to content

Commit

Permalink
*: add a switch pd leader log (#186)
Browse files Browse the repository at this point in the history
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Co-authored-by: Liqi Geng <gengliqiii@gmail.com>
  • Loading branch information
Lloyd-Pottiger and gengliqi authored Jul 22, 2024
1 parent 260359f commit 2d79122
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pd/Client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ void Client::switchLeader(const ::google::protobuf::RepeatedPtrField<std::string
return;
}

log->information("switch leader from " + old_leader + " to " + leader);
getOrCreateGRPCConn(leader);
}

Expand Down

0 comments on commit 2d79122

Please sign in to comment.