redict/utils
guybe7 10bbeb6837
Add command tips to COMMAND DOCS (#10104)
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 9e4fb96ca1, I guess by mistake.
   Also from `(P)EXPIRETIME` (new command, was flagged "random" by mistake).
3. Add `nondeterministic_output` to `OBJECT ENCODING` (for the same reason `XTRIM` has it:
   the reply may differ depending on the internal representation in memory)
4. RANDOM on `HGETALL` was wrong (there due to a limitation of the old script sorting logic), now
  it's `nondeterministic_output_order`
5. Unrelated: Hide CMD_PROTECTED from COMMAND
2022-01-20 11:32:11 +02:00
..
create-cluster Use utils/create-cluster from any dir (#9766) 2021-11-11 08:33:09 +02:00
graphs/commits-over-time Added Tcl program to show commits graphicaly. 2015-11-20 15:45:25 +01:00
hashtable Limit the main db and expires dictionaries to expand (#7954) 2020-12-06 11:53:04 +02:00
hyperloglog Fix HyperLogLog test script for new redis-rb API. 2018-03-16 16:34:04 +01:00
lru Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
releasetools Fixes to release scripts (#7547) 2020-07-21 14:07:06 +03:00
srandmember Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
build-static-symbols.tcl Tcl script, make target, and redis.c changes to build the static symbol table automagically 2009-11-10 19:20:32 +01:00
cluster_fail_time.tcl Cluster: Tcl script to check avg pfail->fail time. 2015-01-30 12:03:17 +01:00
corrupt_rdb.c fix corrupt_rdb.c bug.Let the name of input rdb file name be valid. 2019-03-01 17:46:42 +01:00
gen-test-certs.sh Typo fix in gen-test-certs.sh (#8841) 2021-04-25 10:11:16 +03:00
generate-command-code.py Add command tips to COMMAND DOCS (#10104) 2022-01-20 11:32:11 +02:00
generate-command-help.rb Adds the "bitmap" category to redis-cli help(#9474) 2021-09-09 10:16:30 +03:00
generate-commands-json.py Move doc metadata from COMMAND to COMMAND DOCS (#10056) 2022-01-11 17:16:16 +02:00
install_server.sh Do not install SysV init-scripts on systemd-enabled hosts 2019-11-19 18:55:44 +02:00
redis_init_script Add INIT INFO to the provided init script. 2018-03-26 11:29:16 +02:00
redis_init_script.tpl Update redis_init_script.tpl 2014-10-26 11:09:45 -07:00
redis-copy.rb Deprecate utils/redis-copy.rb in favor of redis-copy gem 2013-11-06 08:31:57 +00:00
redis-sha1.rb Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
speed-regression.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
systemd-redis_multiple_servers@.service Provide example systemd service unit files for redis-server 2019-11-19 18:55:44 +02:00
systemd-redis_server.service Start redis after network is online (#7639) 2020-08-11 12:30:32 +03:00
tracking_collisions.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
whatisdoing.sh Changes http to https in texts (#8495) 2021-03-10 19:11:16 +02:00