John Sully
dcd6d809aa
Remove leak warning with ASAN in the CLI
...
Former-commit-id: 05cd92f7661ba1a96cdcac278720b7da0b6ba60e
2020-10-21 21:16:08 +00:00
John Sully
f7b7c5a168
Keep redis-cli.c C89 compatible
...
Former-commit-id: 9798f2d711939b03e972207638d18dcaa3b2e473
2020-09-30 20:17:51 +00:00
John Sully
4f18a247e3
Merge tag '6.0.8' into unstable
...
Former-commit-id: 4c7e4b91a6bb2034636856b608b8c386d07f5541
2020-09-30 19:47:55 +00:00
Yossi Gottlieb
332aa2f919
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 58e5feb3f49c50b9c18f38fd8f6cad2317c02265)
2020-09-10 14:09:00 +03:00
Thandayuthapani
b983015dd4
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 f22f64f0db82cce666714808a9c994304f97904a)
2020-09-10 14:09:00 +03:00
Wagner Francisco Mezaroba
31415cb27a
allow --pattern to be used along with --bigkeys ( #3586 )
...
Adds --pattern option to cli's --bigkeys, --hotkeys & --scan modes
(cherry picked from commit e2a71338ebfb719cba94742f1c75ce755cd6074d)
2020-09-01 09:27:58 +03:00
Oran Agra
e8801f7eaa
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 1aa31e4da9a2daf9058dd923738e331bc5c91e31)
2020-09-01 09:27:58 +03:00
Frank Meier
3a677b45ac
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 51077c821236eba5223b1e624f2462214a0e5062)
2020-09-01 09:27:58 +03:00
Yossi Gottlieb
b057ff81ee
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 d9f970d8d3f0b694f1e8915cab6d4eab9cfb2ef1)
2020-07-20 21:08:26 +03:00
Oran Agra
a9d1014fb2
redis-cli --hotkeys fixed to handle non-printable key names
...
(cherry picked from commit b23e2510364bd13d9988921235c400c5657a8438)
2020-07-20 21:08:26 +03:00
Oran Agra
183bdc11c0
redis-cli --bigkeys fixed to handle non-printable key names
...
(cherry picked from commit 6f8a8647de5b16ff937dc25046151619a2eafabb)
2020-07-20 21:08:26 +03:00
Benjamin Sergeant
845fb2d1c1
Update redis-cli.c
...
(cherry picked from commit 93021da221f71cf71fe874fd881ea59f325b82f2)
2020-07-20 21:08:26 +03:00
John Sully
1ac6e3ecc5
Auto tune lock for high CPU tension scenarios
...
Former-commit-id: 8edbae2e04538f82a146a6c2b459a6dfcacf99b2
2020-05-30 18:22:27 -04:00
John Sully
cfe9f8f3bc
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
e8b09d2203
do not handle --cluster-yes for cluster fix mode
2020-05-22 12:37:49 +02:00
Benjamin Sergeant
57b4fb0d84
fix typo ...
2020-05-22 12:37:49 +02:00
Benjamin Sergeant
29f25e4111
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
27eb239f1a
Fix bad merge in CI.yml
...
Former-commit-id: 6311d709c39b3bacaeab77b18033010f1b548f81
2020-05-21 22:09:06 -04:00
antirez
3fcffe7d04
redis-cli: fix hints with subcommands.
2020-04-30 13:43:58 +02:00
antirez
96dd5fc932
redis-cli: safer cluster fix with unreachalbe masters.
2020-04-30 13:02:58 +02:00
antirez
5b59d9c5d7
redis-cli: simplify cluster nodes coverage display.
2020-04-30 13:02:58 +02:00
antirez
c163d4addc
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
02147b4be0
Merge commit '0f7dfc378ce5ab0524ac28b6142545bc41435386' into redis_6_merge
...
Former-commit-id: cc3ebbe5194e9744fb84ce490e90ac5fbe7f8716
2020-04-14 22:19:29 -04:00
John Sully
7a6933bb15
Merge commit 'e628f94436f2ffb38dd6305f18956f309838a8d6' into redis_6_merge
...
Former-commit-id: 2941792a85653258a36f8eb02189132ec7835242
2020-04-14 21:13:42 -04:00
John Sully
aa48225a76
Merge commit '76d57161d960f27ac92765118e3b80fef8847b8f' into redis_6_merge
...
Former-commit-id: 320bc3c0329ff9e5a980b79426b719addae381cf
2020-04-14 21:04:42 -04:00
John Sully
b20093e2f3
Merge commit 'e74e68c84f5eba8013769087c9a46cab811b8417' into redis_6_merge
...
Former-commit-id: 2825e515504cffcf6000be2e547ab1cbd86441bc
2020-04-14 20:55:29 -04:00
John Sully
12999c17dd
Merge commit 'df83892760d19b1b7e92d76e72daf4834ad2df6c' into redis_6_merge
...
Former-commit-id: cde199a7973ad63317b68f581df607321e12bf46
2020-04-14 19:43:04 -04:00
John Sully
5dbcd55669
Merge commit '51c1a9f8fbc12a9276489178242e498bb6ccbdba' into redis_6_merge
...
Former-commit-id: 09e8fb17cd0889ad17461e48446221b3955f5a8f
2020-04-14 18:44:42 -04:00
hwware
eb80887936
fix potentical memory leak in redis-cli
2020-03-25 15:55:24 +01:00
artix
95324b8190
Support Redis Cluster Proxy PROXY INFO command
2020-03-25 15:55:24 +01:00
antirez
e628f94436
Restore newline at the end of redis-cli.c
2020-03-25 15:54:34 +01:00
John Sully
c7f1eab8a4
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 4671cd6002c50dd8484e59fd7434878053340702
2020-03-15 18:47:27 -04:00
John Sully
15df3ed91d
Handle HTTP error codes with MOTD
...
Former-commit-id: 2ec0b2cd206f2c73fabcda5d59751b013aa8cfbf
2020-03-15 18:47:01 -04:00
John Sully
d73ac7e377
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 07effa392564f3c53989600e803103f3e3951fe7
2020-03-15 18:33:24 -04:00
John Sully
3b1f36a521
Update MOTD URL
...
Former-commit-id: cd76a71de393eb527f98024ea85a9492ef0c36ca
2020-03-15 18:32:05 -04:00
lifubang
c0c67c9be3
add askpass mode
...
Signed-off-by: lifubang <lifubang@acmcoder.com>
2020-03-12 15:53:47 +01:00
qetu3790
4af0d7fd94
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
a669a40ac6
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 52fd4445a472fa3112e96c6a7ef66ecdfe6ce9f5
2020-03-04 17:13:01 -05:00
John Sully
21fb601851
MOTD refactor
...
Former-commit-id: 6c78ec7c41223b3381e19fdf78478f66b4959dc9
2020-03-04 16:22:55 -05:00
lifubang
54f5499aee
correct help info for --user and --pass
...
Signed-off-by: lifubang <lifubang@acmcoder.com>
2020-02-12 14:17:54 +01:00
lifubang
5e042dbc05
fix ssl flag check for redis-cli
...
Signed-off-by: lifubang <lifubang@acmcoder.com>
2020-02-12 14:17:54 +01:00
Yossi Gottlieb
29d4a1502a
TLS: Fix missing initialization in redis-cli.
2020-02-04 10:23:48 +01:00
John Sully
8e5fe97525
Merge remote-tracking branch 'redis/6.0' into redis_merge
...
Former-commit-id: ef9a3cadcf94326bf2f163db7698aad9a3c01690
2020-01-27 02:55:48 -05:00
antirez
d7a87d0ea4
redis-cli: some refactoring about not logging AUTH & co.
2019-12-12 09:40:36 +01:00
Tais P. Hansen
9bedd4d3d5
Fix keydb-cli crashing on read-only filesystem
...
Former-commit-id: 91eac2cdb32d5cd5eb9c1fc54244da08faf8d9e7
2019-12-09 14:23:10 -05:00
Itamar Haber
9f32d0eed2
Ommits from redis-cli's history
2019-10-31 15:45:52 +02:00
happynote3966
cd02c5944f
fix comment typo in redis-cli.c
2019-10-25 22:31:55 +09:00
John Sully
86c1f7aaf7
Build break, ensure C99 compatibility
...
Former-commit-id: ca4ee4e3e4e28e2a186ac782ab0052c56a798ed2
2019-10-23 13:38:07 -04:00
John Sully
03769b5c17
Remove race conditions
...
Former-commit-id: 5a8cb77d0df7f319809ff965a72fe46925f49289
2019-10-22 23:26:37 -04:00
Yossi Gottlieb
0db3b0a0ff
Merge remote-tracking branch 'upstream/unstable' into tls
2019-10-16 17:08:07 +03:00