Skip to content

Commit ad51e9d

Browse files
authored
fix: suppress BUSYGROUP warning logs (#6095)
1 parent 439528b commit ad51e9d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/server/main_service.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,9 @@ DispatchResult Service::InvokeCmd(const CommandId* cid, CmdArgList tail_args,
16691669
res = DispatchResult::OOM;
16701670
}
16711671
VLOG(2) << FailedCommandToString(cid->name(), tail_args, reason);
1672-
LOG_EVERY_T(WARNING, 1) << FailedCommandToString(cid->name(), tail_args, reason);
1672+
if (!absl::StartsWith(reason, "-BUSYGROUP")) {
1673+
LOG_EVERY_T(WARNING, 1) << FailedCommandToString(cid->name(), tail_args, reason);
1674+
}
16731675
}
16741676

16751677
auto cid_name = cid->name();

0 commit comments

Comments
 (0)