Skip to content

Commit

Permalink
Merge pull request #5746 from vbotbuildovich/backport-5378-5461-v22.1…
Browse files Browse the repository at this point in the history
….x-30

[v22.1.x] consensus: fix expected condition variable exception
  • Loading branch information
BenPope committed Aug 2, 2022
2 parents 08e95c3 + 3c8eb42 commit 6f5ca4e
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 @@ -2661,7 +2661,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 6f5ca4e

Please sign in to comment.