Skip to content

Commit

Permalink
Merge pull request #5742 from andrwng/hb-error-log
Browse files Browse the repository at this point in the history
heartbeat_manager: reduce log severity when missing partition
  • Loading branch information
jcsp committed Aug 5, 2022
2 parents f2702c3 + e9903d5 commit fd54b14
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/v/raft/heartbeat_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,11 @@ void heartbeat_manager::process_reply(
for (auto& [g, req_meta] : groups) {
auto it = _consensus_groups.find(g);
if (it == _consensus_groups.end()) {
vlog(hbeatlog.error, "cannot find consensus group:{}", g);
vlog(
hbeatlog.warn,
"cannot find consensus group:{}, may have been moved or "
"deleted",
g);
continue;
}
auto consensus = *it;
Expand Down

0 comments on commit fd54b14

Please sign in to comment.