ellutionist commented on issue #1350:
URL: 
https://github.com/apache/incubator-kvrocks/issues/1350#issuecomment-1491980422

   Looks like the option of `SYNC|ASYNC` flag got more votes. If there is no 
further advice, I will implement the new feature as following:
   ```
   clusterx migrate ${SLOT} ${NODE_ID} [SYNC|ASYNC] ${TIMEOUT}
   ```
   
   - If the `ASYNC` is given or the flag is missing, the command will act in 
the old way.
   - If the `SYNC` flag is given:
      - If the `timeout` is missing or "0", the command will block until the 
migration finish.
      - If the `timeout` comes as a positive integer, it means the max duration 
(of seconds) for which the command will block.


-- 
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