PokIsemaine commented on issue #2355:
URL: https://github.com/apache/kvrocks/issues/2355#issuecomment-2182077655

   First of all, I would like to discuss the use of commands, and noting that 
`CLUSTERX SETSLOT` has similar needs, I decided to refer to the following PR 
and issues.
   https://github.com/apache/kvrocks/issues/1412
   https://github.com/apache/kvrocks/pull/1414
   
   The current form of `CLUSTERX MIGRATE` is as follows
   ```
   CLUSTERX MIGRATE $SLOT_ID $DEST_NODE_ID [$SYNC_FLAG] [$TIMEOUT]
   ```
   To be compatible with the previous command, we've only modified the form of 
content that SLOT_ID can accept, allowing it to accept a single slot or a range 
of slotrange, or both.
   ```
   CLUSTERX MIGRATE 1 $dest_node_id
   CLUSTERX MIGRATE "3 5 9 20-30" $dest_node_id
   ```
   Do you think this is reasonable? If it makes sense, I'll continue to think 
about the specific design and implementation.
   
   
   > In addition, in the process of learning cluster, I found that the 
https://kvrocks.apache.org/docs/cluster/ documentation is not very 
user-friendly, for example, it does not tell CLUSTERX MIGRATE how to use it, 
command line arguments, etc., which may need to be improved in the future


-- 
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: issues-unsubscr...@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to