mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
refactor: reduce number of cluster logs (#5044)
This commit is contained in:
parent
d623304c39
commit
9f7b11628a
1 changed files with 2 additions and 6 deletions
|
@ -462,12 +462,6 @@ void ClusterFamily::DflyCluster(CmdArgList args, const CommandContext& cmd_cntx)
|
|||
return builder->SendError("Cluster is disabled. Use --cluster_mode=yes to enable.");
|
||||
}
|
||||
|
||||
if (cntx->conn()) {
|
||||
VLOG(2) << "Got DFLYCLUSTER command (" << cntx->conn()->GetClientId() << "): " << args;
|
||||
} else {
|
||||
VLOG(2) << "Got DFLYCLUSTER command (NO_CLIENT_ID): " << args;
|
||||
}
|
||||
|
||||
string sub_cmd = absl::AsciiStrToUpper(ArgS(args, 0));
|
||||
args.remove_prefix(1); // remove subcommand name
|
||||
if (sub_cmd == "GETSLOTINFO") {
|
||||
|
@ -684,6 +678,8 @@ void ClusterFamily::DflyClusterGetSlotInfo(CmdArgList args, SinkReplyBuilder* bu
|
|||
}
|
||||
|
||||
void ClusterFamily::DflyClusterFlushSlots(CmdArgList args, SinkReplyBuilder* builder) {
|
||||
LOG(INFO) << "Got DFLYCLUSTER FLUSHSLOTS " << args;
|
||||
|
||||
std::vector<SlotRange> slot_ranges;
|
||||
|
||||
CmdArgParser parser(args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue