mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
10bbeb6837
Adding command tips (see https://redis.io/topics/command-tips) to commands.
Breaking changes:
1. Removed the "random" and "sort_for_script" flags. They are now command tips.
(this isn't affecting redis behavior since #9812, but could affect some client applications
that's relying on COMMAND command flags)
Summary of changes:
1. add BLOCKING flag (new flag) for all commands that could block. The ACL category with
the same name is now implicit.
2. move RANDOM flag to a `nondeterministic_output` tip
3. move SORT_FOR_SCRIPT flag to `nondeterministic_output_order` tip
3. add REQUEST_POLICY and RESPONSE_POLICY where appropriate as documented in the tips
4. deprecate (ignore) the `random` flag for RM_CreateCommand
Other notes:
1. Proxies need to send `RANDOMKEY` to all shards and then select one key randomly.
The other option is to pick a random shard and transfer `RANDOMKEY `to it, but that scheme
fails if this specific shard is empty
2. Remove CMD_RANDOM from `XACK` (i.e. XACK does not have RANDOM_OUTPUT)
It was added in
|
||
---|---|---|
.. | ||
create-cluster | ||
graphs/commits-over-time | ||
hashtable | ||
hyperloglog | ||
lru | ||
releasetools | ||
srandmember | ||
build-static-symbols.tcl | ||
cluster_fail_time.tcl | ||
corrupt_rdb.c | ||
gen-test-certs.sh | ||
generate-command-code.py | ||
generate-command-help.rb | ||
generate-commands-json.py | ||
install_server.sh | ||
redis_init_script | ||
redis_init_script.tpl | ||
redis-copy.rb | ||
redis-sha1.rb | ||
speed-regression.tcl | ||
systemd-redis_multiple_servers@.service | ||
systemd-redis_server.service | ||
tracking_collisions.c | ||
whatisdoing.sh |