Skip to content

Commit 9a56e2d

Browse files
committed
align yml comments with master
1 parent 3def870 commit 9a56e2d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

pack/ramp-enterprise.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,15 @@ exclude_commands:
5656
- search.CLUSTERREFRESH
5757
- search.CLUSTERINFO
5858
overide_command:
59-
# The step field is used to encode the proxy's request/reply policy:
59+
# The step field in modules is used to encodes the custom policy's requesting/replying policy:
6060
# -1 : requesting::random_shard
6161
# -2 : requesting::random_shard, replying::retrieve_cursor
6262
# -3 : requesting::by_cursor, replying::retrieve_cursor
63-
# Keep these policies in the pack metadata so older Redis versions don't see
64-
# negative key-step values through the module command registration itself.
63+
# We only specify a custom policy if the command could cause a bottleneck and should be spread across the cluster
64+
# If a routing policy is not specified the proxy default routing logic will be used
65+
# Command Arity: required by the proxy in order to validate commands before sending them to the module
66+
# It is mandatory because during the parsing of the module.json file
67+
# it is used in a python script as a direct key and get with default value is not used
6568
- {"command_arity": -1, "command_name": "FT.AGGREGATE", "first_key": 0, "flags": ["module", "readonly"], "last_key": 1, "step": -2}
6669
- {"command_arity": -2, "command_name": "FT.CURSOR", "first_key": 3, "flags": ["module", "readonly"], "last_key": 1, "step": -3}
6770
- {"command_arity": -1, "command_name": "FT.SEARCH", "first_key": 0, "flags": ["module", "readonly"], "last_key": 0, "step": -1}

0 commit comments

Comments
 (0)