This PR migrates multiple DiceDB commands to support both multi-shard and single-shard scenarios. The migration follows a structured flow for each command type as described below.
Multi-Shard Commands
The following commands are migrated with support for multi-shard processing:
MSET
MGET
SINTER
SDIFF
JSON.MGET
For the COPY and RENAME commands, the flow includes preprocessing, followed by decomposition and composition steps to manage multi-shard data efficiently. For the remaining multi-shard commands, only decomposition and composition steps are involved.
Single-Shard Commands
The following commands are migrated with support for single-shard processing:
JSON.SET
JSON.GET
JSON.TOGGLE
JSON.TYPE
JSON.DEL
JSON.FORGET
JSON.NUMMULTBY
JSON.INGEST
JSON.HGETALL
JSON.NUMINCRBY
These single-shard commands follow a scatter-gather approach with a straightforward flow, where each command operates directly within the target shard, without the need for complex decomposition.
This PR migrates multiple DiceDB commands to support both multi-shard and single-shard scenarios. The migration follows a structured flow for each command type as described below.
Multi-Shard Commands The following commands are migrated with support for multi-shard processing:
For the COPY and RENAME commands, the flow includes preprocessing, followed by decomposition and composition steps to manage multi-shard data efficiently. For the remaining multi-shard commands, only decomposition and composition steps are involved.
Single-Shard Commands The following commands are migrated with support for single-shard processing:
These single-shard commands follow a scatter-gather approach with a straightforward flow, where each command operates directly within the target shard, without the need for complex decomposition.