121 字 | 1 分钟
DELETESLOTS beginSlotid endSlotid
删除 [beginSlotid endSlotid] 区间内的 slots 的数据。命令提交后就返回, 删除操作由后端 GC 线程池调度执行。
Available since 1.0.0.
命令参数
beginSlotid
beginSlotid 取值为 [0, 16383], 表示 删除 Slot 区间的起始 Slot。
endSlotid
endSlotid 取值为 [0, 16383], 表示 删除 Slot 区间的终止 Slot。
命令返回
Simple string reply: OK when the configuration was set properly. Otherwise an error is returned.
Examples
127.0.0.1:20121> DELETESLOTS 10923 10950
OK