John Sully
5fb0c880a8
Remove leak warning with ASAN in the CLI
...
Former-commit-id: 05cd92f7661ba1a96cdcac278720b7da0b6ba60e
2020-10-21 21:16:08 +00:00
John Sully
13d472b160
Keep redis-cli.c C89 compatible
...
Former-commit-id: 9798f2d711939b03e972207638d18dcaa3b2e473
2020-09-30 20:17:51 +00:00
John Sully
14daf6f909
Merge tag '6.0.8' into unstable
...
Former-commit-id: 4c7e4b91a6bb2034636856b608b8c386d07f5541
2020-09-30 19:47:55 +00:00
Yossi Gottlieb
e5db52f19f
redis-cli: fix writeConn() buffer handling. ( #7749 )
...
Fix issues with writeConn() which resulted with corruption of the stream by leaving an extra byte in the buffer. The trigger for this is partial writes or write errors which were not experienced on Linux but reported on macOS.
(cherry picked from commit 94cd74e5deb18e0383bcad5c596c72980e5350b6)
2020-09-10 14:09:00 +03:00
Thandayuthapani
f8d0d902a5
Add masters/replicas options to redis-cli --cluster call command ( #6491 )
...
* Add master/slave option in --cluster call command
* Update src/redis-cli.c
* Update src/redis-cli.c
Co-authored-by: Itamar Haber <itamar@redislabs.com>
(cherry picked from commit 535222063951cc1f3c2c8f78fd84fb9e0d8acefd)
2020-09-10 14:09:00 +03:00
Wagner Francisco Mezaroba
4772370a87
allow --pattern to be used along with --bigkeys ( #3586 )
...
Adds --pattern option to cli's --bigkeys, --hotkeys & --scan modes
(cherry picked from commit 3ec7f8e915fb15634ea5babf217b8a8ecb3e3647)
2020-09-01 09:27:58 +03:00
Oran Agra
6f6658ab60
redis-cli --cluster-yes - negate force flag for clarity
...
this internal flag is there so that some commands do not comply to `--cluster-yes`
(cherry picked from commit f519dcb21626e5fd214960c7d83ee4fab7a3929d)
2020-09-01 09:27:58 +03:00
Frank Meier
d5f7ec90bc
reintroduce REDISCLI_CLUSTER_YES env variable in redis-cli
...
the variable was introduced only in the 5.0 branch in #5879 bc6c1c40db
(cherry picked from commit c6ac2588db27de9a71effa6dc21417f7c787ac69)
2020-09-01 09:27:58 +03:00
Yossi Gottlieb
6af3d57beb
TLS: Add missing redis-cli options. ( #7456 )
...
* Tests: fix and reintroduce redis-cli tests.
These tests have been broken and disabled for 10 years now!
* TLS: add remaining redis-cli support.
This adds support for the redis-cli --pipe, --rdb and --replica options
previously unsupported in --tls mode.
* Fix writeConn().
(cherry picked from commit 99b920534f7710d544c38b870fd10c6053283d99)
2020-07-20 21:08:26 +03:00
Oran Agra
1f9793c996
redis-cli --hotkeys fixed to handle non-printable key names
...
(cherry picked from commit a11940b112577b5290a3bf4ef7bea7e3028c7d76)
2020-07-20 21:08:26 +03:00
Oran Agra
86e45052c3
redis-cli --bigkeys fixed to handle non-printable key names
...
(cherry picked from commit 3d760eaea2a32282d0a7edb2ebe88ebf2c07d47a)
2020-07-20 21:08:26 +03:00
Benjamin Sergeant
2f9da08ead
Update redis-cli.c
...
(cherry picked from commit 52a477c661beabb3308767a442178824579be912)
2020-07-20 21:08:26 +03:00
John Sully
d344d9b0b9
Auto tune lock for high CPU tension scenarios
...
Former-commit-id: 8edbae2e04538f82a146a6c2b459a6dfcacf99b2
2020-05-30 18:22:27 -04:00
John Sully
ed2e0e66f6
Merge tag '6.0.4' into unstable
...
Redis 6.0.4.
Former-commit-id: 9c31ac7925edba187e527f506e5e992946bd38a6
2020-05-29 00:57:07 -04:00
Benjamin Sergeant
5d88c23555
do not handle --cluster-yes for cluster fix mode
2020-05-22 12:37:49 +02:00
Benjamin Sergeant
dc2f7e0ad7
fix typo ...
2020-05-22 12:37:49 +02:00
Benjamin Sergeant
902e82efd2
Redis-cli 6.0.1 --cluster-yes
doesn't work ( fix #7246 )
...
This make it so that all prompts for all redis-cli --cluster commands are automatically answered with a yes.
2020-05-22 12:37:49 +02:00
John Sully
193d7c76cb
Fix bad merge in CI.yml
...
Former-commit-id: 6311d709c39b3bacaeab77b18033010f1b548f81
2020-05-21 22:09:06 -04:00
antirez
9d5ba2e7be
redis-cli: fix hints with subcommands.
2020-04-30 13:43:58 +02:00
antirez
99569af4aa
redis-cli: safer cluster fix with unreachalbe masters.
2020-04-30 13:02:58 +02:00
antirez
9a9953d331
redis-cli: simplify cluster nodes coverage display.
2020-04-30 13:02:58 +02:00
antirez
dbf803bf9c
redis-cli: try to make clusterManagerFixOpenSlot() more readable.
...
Also improve the message to make clear that there is no *clear* owner,
not that there is no owner at all.
2020-04-30 13:02:58 +02:00
John Sully
ce54857237
Merge commit '454e12cb8961f21c9dd8502dc82ae6ffd7e22fe0' into redis_6_merge
...
Former-commit-id: cc3ebbe5194e9744fb84ce490e90ac5fbe7f8716
2020-04-14 22:19:29 -04:00
John Sully
8750cb5a3b
Merge commit '07c75f60f3fe0b300fd7913bab3d2d7e612afb03' into redis_6_merge
...
Former-commit-id: 2941792a85653258a36f8eb02189132ec7835242
2020-04-14 21:13:42 -04:00
John Sully
0725491043
Merge commit 'c609bf3f2c7f0982f632f82623ee4802868b8ef1' into redis_6_merge
...
Former-commit-id: 320bc3c0329ff9e5a980b79426b719addae381cf
2020-04-14 21:04:42 -04:00
John Sully
90cbdd5573
Merge commit 'c208956fbe077e8249d2965dec2ea1b9b7588d6d' into redis_6_merge
...
Former-commit-id: 2825e515504cffcf6000be2e547ab1cbd86441bc
2020-04-14 20:55:29 -04:00
John Sully
d48ea996e7
Merge commit '13fbdf970660b15011c4312f31137e58bbda5b2c' into redis_6_merge
...
Former-commit-id: cde199a7973ad63317b68f581df607321e12bf46
2020-04-14 19:43:04 -04:00
John Sully
2038fa270a
Merge commit '491949ee5bf4ffbfc746ea4ed5a6d673b0e2fb81' into redis_6_merge
...
Former-commit-id: 09e8fb17cd0889ad17461e48446221b3955f5a8f
2020-04-14 18:44:42 -04:00
hwware
2dcae61087
fix potentical memory leak in redis-cli
2020-03-25 15:55:24 +01:00
artix
5ccdb7a5be
Support Redis Cluster Proxy PROXY INFO command
2020-03-25 15:55:24 +01:00
antirez
07c75f60f3
Restore newline at the end of redis-cli.c
2020-03-25 15:54:34 +01:00
John Sully
61176a1a5e
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 4671cd6002c50dd8484e59fd7434878053340702
2020-03-15 18:47:27 -04:00
John Sully
af3afa979a
Handle HTTP error codes with MOTD
...
Former-commit-id: 2ec0b2cd206f2c73fabcda5d59751b013aa8cfbf
2020-03-15 18:47:01 -04:00
John Sully
97537d0525
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 07effa392564f3c53989600e803103f3e3951fe7
2020-03-15 18:33:24 -04:00
John Sully
143ae07899
Update MOTD URL
...
Former-commit-id: cd76a71de393eb527f98024ea85a9492ef0c36ca
2020-03-15 18:32:05 -04:00
lifubang
8e3c92fff8
add askpass mode
...
Signed-off-by: lifubang <lifubang@acmcoder.com>
2020-03-12 15:53:47 +01:00
qetu3790
6bd9b67488
Fix not used constant in lru_test_mode.
...
LRU_CYCLE_PERIOD is defined,but not used.
2020-03-05 12:51:15 +01:00
John Sully
e39dd04f6c
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 52fd4445a472fa3112e96c6a7ef66ecdfe6ce9f5
2020-03-04 17:13:01 -05:00
John Sully
550413070c
MOTD refactor
...
Former-commit-id: 6c78ec7c41223b3381e19fdf78478f66b4959dc9
2020-03-04 16:22:55 -05:00
lifubang
5b3a6b5e80
correct help info for --user and --pass
...
Signed-off-by: lifubang <lifubang@acmcoder.com>
2020-02-12 14:17:54 +01:00
lifubang
af3ff9d733
fix ssl flag check for redis-cli
...
Signed-off-by: lifubang <lifubang@acmcoder.com>
2020-02-12 14:17:54 +01:00
Yossi Gottlieb
a27a4b82f4
TLS: Fix missing initialization in redis-cli.
2020-02-04 10:23:48 +01:00
John Sully
6193e9ad4f
Merge remote-tracking branch 'redis/6.0' into redis_merge
...
Former-commit-id: ef9a3cadcf94326bf2f163db7698aad9a3c01690
2020-01-27 02:55:48 -05:00
antirez
11e6e5dd85
redis-cli: some refactoring about not logging AUTH & co.
2019-12-12 09:40:36 +01:00
Tais P. Hansen
56a28a7c1e
Fix keydb-cli crashing on read-only filesystem
...
Former-commit-id: 91eac2cdb32d5cd5eb9c1fc54244da08faf8d9e7
2019-12-09 14:23:10 -05:00
Itamar Haber
d6d5406c18
Ommits from redis-cli's history
2019-10-31 15:45:52 +02:00
happynote3966
fd5c1adbd7
fix comment typo in redis-cli.c
2019-10-25 22:31:55 +09:00
John Sully
8d2dc7ab52
Build break, ensure C99 compatibility
...
Former-commit-id: ca4ee4e3e4e28e2a186ac782ab0052c56a798ed2
2019-10-23 13:38:07 -04:00
John Sully
60c35d6ea7
Remove race conditions
...
Former-commit-id: 5a8cb77d0df7f319809ff965a72fe46925f49289
2019-10-22 23:26:37 -04:00
Yossi Gottlieb
85d7f38136
Merge remote-tracking branch 'upstream/unstable' into tls
2019-10-16 17:08:07 +03:00