Support slot batch operation for CLUSTERX SETSLOT
Support for #510
It is an enhancement to the original implement of command CLUSTERX SETSLOT #463
Command formart
CLUSTERX SETSLOT "$slot_batch" NODE $node_id $new_version
assign batch slots to the node if new version is current version+1. It is compatible with the original command syntax.
Parameter Changes
$slot_batch: batch slots which we want to assign. It can be given by single slotid or slot batch. Slot batch can be given by continuous slot range or discrete slot list with spaces as separators, e.g. "3 5 9 10-20".
Example
CLUSTERX SETSLOT 1 NODE $nodeid1 1
CLUSTERX SETSLOT "3 5 9 20-30" NODE $nodeid1 2
@ChrisZMF you may separate the fix typo part into a dedicated patch and resolve the conflict so that we can continue reviewing this patch :)
Closed as inactive. You may resubmit the patch base on the latest unstable branch.