infdahai commented on code in PR #1414:
URL: 
https://github.com/apache/incubator-kvrocks/pull/1414#discussion_r1182003977


##########
src/commands/cmd_cluster.cc:
##########
@@ -219,7 +210,7 @@ class CommandClusterX : public Commander {
         *output = redis::Error(s.Msg());
       }
     } else if (subcommand_ == "setslot") {
-      Status s = svr->cluster->SetSlot(slot_id_, args_[4], set_version_);
+      Status s = svr->cluster->SetSlot(slots_str_, args_[4], set_version_);

Review Comment:
   I'm not sure to do this. `CommandClusterX::Parse` is only used to find some 
keywords and do the simple check now.
   If necessary, I can migrate `parse` functions in `cluster.h` to 
`CommandClusterX`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to