Skip to content

Commit

Permalink
Merge pull request #5734 from andrwng/raft-cv-exception
Browse files Browse the repository at this point in the history
consensus: fix expected condition variable exception
  • Loading branch information
andrwng committed Jul 29, 2022
2 parents cdae7df + 9743adb commit 6e6ab2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/raft/consensus.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2780,7 +2780,7 @@ consensus::prepare_transfer_leadership(vnode target_rni) {
meta.follower_state_change.broadcast();
try {
co_await meta.recovery_finished.wait(timeout);
} catch (const ss::timed_out_error&) {
} catch (const ss::condition_variable_timed_out&) {
vlog(
_ctxlog.warn,
"transfer leadership: timed out waiting on node {} "
Expand Down

0 comments on commit 6e6ab2e

Please sign in to comment.