antirez
cd0fcf11e7
dict.c: put a bound to max work dictRehash() call can do.
...
Related to issue #2306 .
2015-02-11 10:52:26 +01:00
antirez
1115984e9f
dict.c: prevent useless resize to same size.
...
Related to issue #2306 .
2015-02-11 10:52:26 +01:00
antirez
777020839a
dict.c: prevent useless resize to same size.
...
Related to issue #2306 .
2015-02-11 10:52:26 +01:00
antirez
4c149c5ab9
Less blocking dictGetRandomKeys().
...
Related to issue #2306 .
2015-02-11 10:52:26 +01:00
antirez
170e41464d
Less blocking dictGetRandomKeys().
...
Related to issue #2306 .
2015-02-11 10:52:26 +01:00
antirez
b3c69f291e
HAVE_SYNC_FILE_RANGE should be protected by ifdef __linux__.
...
Related to issue #2372 .
2015-02-10 09:29:14 +01:00
antirez
9e9abe29fe
HAVE_SYNC_FILE_RANGE should be protected by ifdef __linux__.
...
Related to issue #2372 .
2015-02-10 09:29:14 +01:00
Salvatore Sanfilippo
0dcb6b144f
Merge pull request #2372 from mariano-perez-rodriguez/patch-2
...
Fix HAVE_BACKTRACE on Linux
2015-02-10 09:27:46 +01:00
Salvatore Sanfilippo
50a57c67b2
Merge pull request #2372 from mariano-perez-rodriguez/patch-2
...
Fix HAVE_BACKTRACE on Linux
2015-02-10 09:27:46 +01:00
antirez
77494007b5
redis-cli --lru-test implemented (cache workload simulator).
2015-02-09 11:06:55 +01:00
antirez
bd128f7969
redis-cli --lru-test implemented (cache workload simulator).
2015-02-09 11:06:55 +01:00
antirez
4847cdfb4f
redis-cli: interactive reconnection for latency modes.
...
--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.
2015-02-08 23:28:27 +01:00
antirez
ca23b2a6b7
redis-cli: interactive reconnection for latency modes.
...
--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.
2015-02-08 23:28:27 +01:00
antirez
d1d81024d0
redis-cli --latecy-dist reverted to gray scale.
...
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.
2015-02-08 17:39:42 +01:00
antirez
cfe21852e7
redis-cli --latecy-dist reverted to gray scale.
...
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.
2015-02-08 17:39:42 +01:00
antirez
a3b784c7a5
redis-cli --latency-dist now uses a color palette.
...
Still not happy with the result but low grays are hard to see in certain
monitors with a non perfect gamma.
2015-02-07 20:15:40 +01:00
antirez
2723412b7b
redis-cli --latency-dist now uses a color palette.
...
Still not happy with the result but low grays are hard to see in certain
monitors with a non perfect gamma.
2015-02-07 20:15:40 +01:00
antirez
1708506f8b
redis-cli latency dist: add new top HL.
2015-02-07 18:06:14 +01:00
antirez
ace1acc532
redis-cli latency dist: add new top HL.
2015-02-07 18:06:14 +01:00
Mariano Pérez Rodríguez
e8254f5c5f
Fix for #2371
...
Fixing #2371 as per @mattsta's suggestion
2015-02-07 14:02:33 -03:00
Mariano Pérez Rodríguez
c83a739bd8
Fix for #2371
...
Fixing #2371 as per @mattsta's suggestion
2015-02-07 14:02:33 -03:00
antirez
5bee7cd8c8
Add missing latency-dest legend symbol.
2015-02-07 15:05:40 +01:00
antirez
414df143f5
Add missing latency-dest legend symbol.
2015-02-07 15:05:40 +01:00
antirez
7905fe9e2e
Initial implementation of redis-cli --latency-dist.
2015-02-07 15:00:38 +01:00
antirez
2860cf4139
Initial implementation of redis-cli --latency-dist.
2015-02-07 15:00:38 +01:00
Chris Lamb
5494a90bdb
Tidy grammar in CONFIG SET maxmemory warning.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2015-02-04 18:37:34 +00:00
Chris Lamb
eaeba1b2c8
Tidy grammar in CONFIG SET maxmemory warning.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2015-02-04 18:37:34 +00:00
Chris Lamb
260e6f9f00
Support "1G" etc. units in CONFIG SET maxmemory
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2015-02-04 18:36:38 +00:00
Chris Lamb
ba74711e06
Support "1G" etc. units in CONFIG SET maxmemory
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2015-02-04 18:36:38 +00:00
antirez
907af053fd
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2015-02-04 11:26:31 +01:00
antirez
78dd2b313e
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2015-02-04 11:26:31 +01:00
antirez
d8d3c7acf4
Replication: put server.master client creation into separated function.
2015-02-04 11:26:20 +01:00
antirez
c5dd686ecb
Replication: put server.master client creation into separated function.
2015-02-04 11:26:20 +01:00
antirez
24f85385cf
Suppress sign warning in sort.c.
...
Related to #2346 .
2015-02-03 15:42:56 +01:00
antirez
719c6c2b96
Suppress sign warning in sort.c.
...
Related to #2346 .
2015-02-03 15:42:56 +01:00
antirez
3dcec39779
Hopefully better sort.c optimization comments.
...
Related to #2346 .
2015-02-03 15:38:21 +01:00
antirez
96abf65900
Hopefully better sort.c optimization comments.
...
Related to #2346 .
2015-02-03 15:38:21 +01:00
Salvatore Sanfilippo
47d0dedf03
Merge pull request #2346 from sunheehnus/sort
...
Little optimization & bug fix in sort.c
2015-02-03 15:32:38 +01:00
Salvatore Sanfilippo
5fbb36f9e7
Merge pull request #2346 from sunheehnus/sort
...
Little optimization & bug fix in sort.c
2015-02-03 15:32:38 +01:00
antirez
c0615882ec
More obvious indentation in setCommand().
2015-02-03 14:17:06 +01:00
antirez
1dbd8e94a7
More obvious indentation in setCommand().
2015-02-03 14:17:06 +01:00
antirez
87ae6439f2
Merge branch 'unstable' of git://github.com/mihirvj/redis into set-pr
2015-02-03 14:13:30 +01:00
antirez
51010007bc
Merge branch 'unstable' of git://github.com/mihirvj/redis into set-pr
2015-02-03 14:13:30 +01:00
antirez
1d68744ad3
Check RDB automatically in a few more cases.
2015-02-03 10:33:05 +01:00
antirez
fad758b322
Check RDB automatically in a few more cases.
2015-02-03 10:33:05 +01:00
antirez
97b74dd0a2
Handle redis-check-rdb as a standalone program.
...
This also makes it backward compatible in the usage, but for the command
name. However the old command name was less obvious so it is worth to
break it probably.
With the new setup the program main can perform argument parsing and
everything else useful for an RDB check regardless of the Redis server
itself.
2015-02-03 10:25:01 +01:00
antirez
7d1e158084
Handle redis-check-rdb as a standalone program.
...
This also makes it backward compatible in the usage, but for the command
name. However the old command name was less obvious so it is worth to
break it probably.
With the new setup the program main can perform argument parsing and
everything else useful for an RDB check regardless of the Redis server
itself.
2015-02-03 10:25:01 +01:00
antirez
168fb950a7
Norrow backtrace and setproctitle() to Linux+glibc.
...
Backtrace is a glibc extension, while setproctitle() implementation
depends on the memory layout and is partially libc dependent.
2015-02-03 10:09:21 +01:00
antirez
45102a6f63
Norrow backtrace and setproctitle() to Linux+glibc.
...
Backtrace is a glibc extension, while setproctitle() implementation
depends on the memory layout and is partially libc dependent.
2015-02-03 10:09:21 +01:00
Salvatore Sanfilippo
2111b6cf13
Merge pull request #2318 from mattcollier/patch-1
...
Fix redis-cli CSV NIL output
2015-02-02 22:47:57 +01:00