raft topology: log when entering transition states

Those are rare control plane events, but might be useful when debugging
problems with topology coordinator (e.g. where it got stuck).
This commit is contained in:
Kamil Braun
2024-01-11 16:01:48 +01:00
parent aeb53ea31d
commit 92e6604127

View File

@@ -2372,6 +2372,7 @@ class topology_coordinator : public endpoint_lifecycle_subscriber {
co_return false;
}
rtlogger.info("entered `{}` transition state", *tstate);
switch (*tstate) {
case topology::transition_state::join_group0: {
auto [node, accepted] = co_await finish_accepting_node(get_node_to_work_on(std::move(guard)));