- 17 Nov, 2015 15 commits
-
-
antirez authored
Let the user control the replies truncation.
-
antirez authored
-
antirez authored
Otherwise the result is a messed CLI without prompt. Thanks to Itamar Haber for reporting this issue.
-
antirez authored
Redis-cli handles the debugger "eval" command in a special way since sdssplitargs() would not be ok: we need to send the Redis debugger the whole Lua script without any parsing. However in order to later free the argument vector inside redis-cli using just sdsfreesplitres(), we need to allocate the array of SDS pointers using the same allocator SDS is using, that may differ to what Redis is using. So now a newer version of SDS exports sds_malloc() and other allocator functions to give access, to the program it is linked to, the allocator used internally by SDS.
-
antirez authored
-
antirez authored
When redis-cli will support the synchronous mode, this will not be printed.
-
antirez authored
When the debugger exits now it produces an <endsession> tag that informs redis-cli (or other debugging clients) that the session terminated. This way the client knows there is yet another reply to read (the one of the EVAL script itself), and can switch to non-debugging mode ASAP.
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
- 30 Sep, 2015 1 commit
-
-
antirez authored
The code was broken and resulted in redis-cli --pipe to, most of the times, writing everything received in the standard input to the Redis connection socket without ever reading back the replies, until all the content to write was written. This means that Redis had to accumulate all the output in the output buffers of the client, consuming a lot of memory. Fixed thanks to the original report of anomalies in the behavior provided by Twitter user @fsaintjacques.
-
- 07 Sep, 2015 1 commit
-
-
ubuntu authored
-
- 27 Jul, 2015 1 commit
-
-
antirez authored
-
- 14 Jul, 2015 2 commits
- 13 Feb, 2015 2 commits
-
-
antirez authored
-
antirez authored
Less grays: more readable palette since usually we have a non linear distribution of percentages and very near gray tones are hard to take apart. Final part of the palette is gradient from yellow to red. The red part is hardly reached because of usual distribution of latencies, but shows up mainly when latencies are very high because of the logarithmic scale, this is coherent to what people expect: red = bad.
-
- 11 Feb, 2015 1 commit
-
-
antirez authored
-
- 09 Feb, 2015 1 commit
-
-
antirez authored
-
- 08 Feb, 2015 2 commits
-
-
antirez authored
--stat mode already used to reconnect automatically if the server is no longer available. This is useful since this is an interactive mode used for debugging, however the same applies to --latency and --latency-dist modes, so now both use the reconnecting command execution as well. The reconnection code was modified to use basic VT100 escape sequences in order to play better with different kinds of output on the screen when the reconnection happens, and to hide the reconnection attempt output when finally the reconnection happens.
-
antirez authored
So far not able to find a color palette within the 256 colors which is not confusing. However I believe it is a possible task, so will try better later.
-
- 07 Feb, 2015 4 commits
- 25 Jan, 2015 1 commit
-
-
mattcollier authored
Code was adding '\n' (line 521) to the end of NIL values exlusively making csv output inconsistent. Removed '\n'
-
- 23 Dec, 2014 1 commit
-
-
Matt Stancliff authored
Uses jemalloc function malloc_stats_print() to return stats about what jemalloc has allocated internally.
-
- 11 Dec, 2014 2 commits
-
-
antirez authored
A few code style changes + consistent format: not nice for humans but better for parsers.
-
Matt Stancliff authored
Instead of manually checking for strchr(n,':') everywhere, we can use our new centralized IP formatting functions.
-
- 08 Dec, 2014 1 commit
-
-
Jan-Erik Rediger authored
This allows shell pipes to correctly end redis-cli. Ref #2066
-
- 25 Nov, 2014 1 commit
-
-
antirez authored
-
- 11 Nov, 2014 1 commit
-
-
Charles Hooper authored
-
- 30 Oct, 2014 1 commit
-
-
h0x91b authored
if redis works in cluster-mode and redis-cli was run with argv, reconnect if needs. example: ./redis-cli set foo bar if return is MOVED redis-cli just do nothing.
-
- 29 Oct, 2014 1 commit
-
-
Matt Stancliff authored
Closes #2066
-
- 27 Oct, 2014 1 commit
-
-
Nan Xiao authored
Fix function prototype in redis-cli.c.
-