Skip to content

Commit

Permalink
Merge pull request #7453 from vbotbuildovich/backport-6870-v22.3.x-115
Browse files Browse the repository at this point in the history
[v22.3.x] Lower log error severity to DEBUG for `errc::shutting_down` in k/group (2)
  • Loading branch information
jcsp committed Nov 23, 2022
2 parents 5be3e8e + 00171ab commit 2418d88
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/v/kafka/server/group.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2806,11 +2806,17 @@ group::remove_topic_partitions(const std::vector<model::topic_partition>& tps) {
"Replicated group cleanup record {} at offset {}",
_id,
result.value().last_offset);
} else if (result.error() == raft::errc::shutting_down) {
vlog(
klog.debug,
"Cannot replicate group {} cleanup records due to shutdown",
_id);
} else {
vlog(
klog.error,
"Error occured replicating group {} cleanup records {}",
"Error occured replicating group {} cleanup records {} ({})",
_id,
result.error().message(),
result.error());
}
} catch (const std::exception& e) {
Expand Down

0 comments on commit 2418d88

Please sign in to comment.