Skip to content

Commit

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

[v21.11.x] consensus: fix expected condition variable exception
  • Loading branch information
BenPope committed Aug 2, 2022
2 parents 5178800 + 5867b1f commit e71894f
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 @@ -2628,7 +2628,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 e71894f

Please sign in to comment.