antirez
b9a8e56439
Merge branch 'removeRedundantCheck' of https://github.com/dsomeshwar/redis into unstable
2018-07-24 10:24:24 +02:00
antirez
6d54904951
Merge branch 'removeRedundantCheck' of https://github.com/dsomeshwar/redis into unstable
2018-07-24 10:24:24 +02:00
antirez
b28cbe90e1
Restore string2ll() to original version.
...
See PR #5157 .
2018-07-24 10:22:12 +02:00
antirez
8aa5ed1e03
Restore string2ll() to original version.
...
See PR #5157 .
2018-07-24 10:22:12 +02:00
antirez
1a8d7cd9c2
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-07-24 00:21:49 +02:00
antirez
97b08f5483
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-07-24 00:21:49 +02:00
antirez
e8f5d21940
string2ll(): remove duplicated check for special case.
...
Related to #5157 . The PR author correctly indentified that the check was
duplicated, but removing the second one introduces a bug that was fixed
in the past (hence the duplication). Instead we can remove the first
instance of the check without issues.
2018-07-24 00:20:20 +02:00
antirez
54bbc283b1
string2ll(): remove duplicated check for special case.
...
Related to #5157 . The PR author correctly indentified that the check was
duplicated, but removing the second one introduces a bug that was fixed
in the past (hence the duplication). Instead we can remove the first
instance of the check without issues.
2018-07-24 00:20:20 +02:00
antirez
1daee8c748
string2ll(): test for NULL pointer in all the cases.
2018-07-24 00:18:39 +02:00
antirez
510c2045d9
string2ll(): test for NULL pointer in all the cases.
2018-07-24 00:18:39 +02:00
Salvatore Sanfilippo
ab1d5fe11a
Merge pull request #5160 from oranagra/fix_zmalloc_usable
...
fix recursion typo in zmalloc_usable
2018-07-24 00:07:59 +02:00
Salvatore Sanfilippo
6264e81b85
Merge pull request #5160 from oranagra/fix_zmalloc_usable
...
fix recursion typo in zmalloc_usable
2018-07-24 00:07:59 +02:00
antirez
9a375e5408
Change 42 to 1000 as warning level for cached scripts.
...
Related to #4883 .
2018-07-23 18:44:58 +02:00
antirez
1ecfe03852
Change 42 to 1000 as warning level for cached scripts.
...
Related to #4883 .
2018-07-23 18:44:58 +02:00
Salvatore Sanfilippo
445a2a2b1b
Merge pull request #4883 from itamarhaber/lua_scripts-in-info-memory
...
Adds memory information about the scripts' cache to INFO
2018-07-23 18:43:05 +02:00
Salvatore Sanfilippo
a5f07a06f4
Merge pull request #4883 from itamarhaber/lua_scripts-in-info-memory
...
Adds memory information about the scripts' cache to INFO
2018-07-23 18:43:05 +02:00
antirez
b65ddfb16a
Dynamic HZ: adapt cron frequency to number of clients.
2018-07-23 14:21:04 +02:00
antirez
3d32af7ec6
Dynamic HZ: adapt cron frequency to number of clients.
2018-07-23 14:21:04 +02:00
antirez
e6ea603ad3
Dynamic HZ: separate hz from the configured hz.
...
This way we can remember what the user configured HZ is, but change the
actual HZ dynamically if needed in the dynamic HZ feature
implementation.
2018-07-23 14:13:58 +02:00
antirez
6bfbad38af
Dynamic HZ: separate hz from the configured hz.
...
This way we can remember what the user configured HZ is, but change the
actual HZ dynamically if needed in the dynamic HZ feature
implementation.
2018-07-23 14:13:58 +02:00
Itamar Haber
993716c351
Adds Lua overheads to MEMORY STATS, smartens the MEMORY DOCTOR
2018-07-22 21:16:00 +03:00
Itamar Haber
527786c0f3
Adds Lua overheads to MEMORY STATS, smartens the MEMORY DOCTOR
2018-07-22 21:16:00 +03:00
zhaozhao.zz
9674ede85a
Streams: skip master fileds only when we are going forward in streamIteratorGetID
2018-07-22 17:52:09 +08:00
zhaozhao.zz
8e01dbe90b
Streams: skip master fileds only when we are going forward in streamIteratorGetID
2018-07-22 17:52:09 +08:00
Oran Agra
780815dd6e
fix recursion typo in zmalloc_usable
2018-07-22 10:17:35 +03:00
Oran Agra
359705c08d
fix recursion typo in zmalloc_usable
2018-07-22 10:17:35 +03:00
dsomeshwar
bb5b8b3a6f
removing redundant check
2018-07-21 23:42:08 +05:30
dsomeshwar
af41c94526
removing redundant check
2018-07-21 23:42:08 +05:30
WuYunlong
4017a11144
Do not migrate already expired keys.
2018-07-21 10:00:32 +08:00
WuYunlong
89de21d6a6
Do not migrate already expired keys.
2018-07-21 10:00:32 +08:00
WuYunlong
dd760bd5e6
Consider aof write error as well as rdb in lua script.
2018-07-21 08:48:51 +08:00
WuYunlong
ea2a56acf5
Consider aof write error as well as rdb in lua script.
2018-07-21 08:48:51 +08:00
chendianqiang
68ceb46697
Merge pull request #1 from antirez/unstable
...
update
2018-07-20 19:20:14 +08:00
antirez
4ff47a0b9b
Top comment clientsCron().
2018-07-20 09:46:18 +02:00
antirez
ebce3647df
Top comment clientsCron().
2018-07-20 09:46:18 +02:00
antirez
aba6855282
Clarify that clientsCronTrackExpansiveClients() indexes may jump ahead.
2018-07-20 09:36:48 +02:00
antirez
ee9b50b0cb
Clarify that clientsCronTrackExpansiveClients() indexes may jump ahead.
2018-07-20 09:36:48 +02:00
antirez
be88c0b16a
Rename INFO CLIENT max buffers field names for correctness.
...
They are actually delayed a few seconds, so let's call them "recent".
2018-07-19 17:38:20 +02:00
antirez
502fe74232
Rename INFO CLIENT max buffers field names for correctness.
...
They are actually delayed a few seconds, so let's call them "recent".
2018-07-19 17:38:20 +02:00
antirez
0cf3794e6e
Fix wrong array index variable in getExpansiveClientsInfo().
2018-07-19 17:34:15 +02:00
antirez
e42fe2628e
Fix wrong array index variable in getExpansiveClientsInfo().
2018-07-19 17:34:15 +02:00
antirez
ea3a20c5d0
Change INFO CLIENTS sections to report pre-computed max/min client buffers.
2018-07-19 17:16:19 +02:00
antirez
28557ee271
Change INFO CLIENTS sections to report pre-computed max/min client buffers.
2018-07-19 17:16:19 +02:00
dejun.xdj
de5ca516ae
Streams: ID of xclaim command starts from the sixth argument.
2018-07-19 20:48:08 +08:00
dejun.xdj
950bff839f
Streams: ID of xclaim command starts from the sixth argument.
2018-07-19 20:48:08 +08:00
antirez
8f7e496ba5
Rename var in clientsCronTrackExpansiveClients() for clarity.
2018-07-19 13:59:13 +02:00
antirez
b3d4d162b3
Rename var in clientsCronTrackExpansiveClients() for clarity.
2018-07-19 13:59:13 +02:00
antirez
8d617596f1
Implement a function to retrieve the expansive clients mem usage.
2018-07-19 13:58:04 +02:00
antirez
2373eaccf1
Implement a function to retrieve the expansive clients mem usage.
2018-07-19 13:58:04 +02:00
antirez
85a1b4f807
clientsCronTrackExpansiveClients() actual implementation.
2018-07-19 13:54:20 +02:00