antirez
44a9c2335a
Issue #4027 : unify comment and modify return value in freeMemoryIfNeeded().
...
It looks safer to return C_OK from freeMemoryIfNeeded() when clients are
paused because returning C_ERR may prevent success of writes. It is
possible that there is no difference in practice since clients cannot
execute writes while clients are paused, but it looks more correct this
way, at least conceptually.
Related to PR #4028 .
2017-06-23 11:42:25 +02:00
antirez
c9097393bf
Issue #4027 : unify comment and modify return value in freeMemoryIfNeeded().
...
It looks safer to return C_OK from freeMemoryIfNeeded() when clients are
paused because returning C_ERR may prevent success of writes. It is
possible that there is no difference in practice since clients cannot
execute writes while clients are paused, but it looks more correct this
way, at least conceptually.
Related to PR #4028 .
2017-06-23 11:42:25 +02:00
antirez
a771a41a56
Issue #4027 : unify comment and modify return value in freeMemoryIfNeeded().
...
It looks safer to return C_OK from freeMemoryIfNeeded() when clients are
paused because returning C_ERR may prevent success of writes. It is
possible that there is no difference in practice since clients cannot
execute writes while clients are paused, but it looks more correct this
way, at least conceptually.
Related to PR #4028 .
2017-06-23 11:42:25 +02:00
Salvatore Sanfilippo
451e0f2874
Merge pull request #4028 from zintrepid/prevent_expirations_while_paused
...
Prevent expirations and evictions while paused
2017-06-23 11:39:02 +02:00
Salvatore Sanfilippo
936ade80b2
Merge pull request #4028 from zintrepid/prevent_expirations_while_paused
...
Prevent expirations and evictions while paused
2017-06-23 11:39:02 +02:00
Salvatore Sanfilippo
2035627d34
Merge pull request #4028 from zintrepid/prevent_expirations_while_paused
...
Prevent expirations and evictions while paused
2017-06-23 11:39:02 +02:00
Suraj Narkhede
f00b0e89ae
Fix following issues in blocking commands:
...
1. brpop last key index, thus checking all keys for slots.
2. Memory leak in clusterRedirectBlockedClientIfNeeded.
3. Remove while loop in clusterRedirectBlockedClientIfNeeded.
2017-06-23 00:30:21 -07:00
Suraj Narkhede
f85f36f50d
Fix following issues in blocking commands:
...
1. brpop last key index, thus checking all keys for slots.
2. Memory leak in clusterRedirectBlockedClientIfNeeded.
3. Remove while loop in clusterRedirectBlockedClientIfNeeded.
2017-06-23 00:30:21 -07:00
Suraj Narkhede
3e42887310
Fix following issues in blocking commands:
...
1. brpop last key index, thus checking all keys for slots.
2. Memory leak in clusterRedirectBlockedClientIfNeeded.
3. Remove while loop in clusterRedirectBlockedClientIfNeeded.
2017-06-23 00:30:21 -07:00
Suraj Narkhede
3e8b148cad
Fix brpop command table entry and redirect blocked clients.
2017-06-22 23:52:00 -07:00
Suraj Narkhede
d303bca587
Fix brpop command table entry and redirect blocked clients.
2017-06-22 23:52:00 -07:00
Suraj Narkhede
a1149c6326
Fix brpop command table entry and redirect blocked clients.
2017-06-22 23:52:00 -07:00
antirez
5eefa529e1
Aesthetic changes to #4068 PR to conform to Redis coding standard.
...
1. Inline if ... statement if short.
2. No lines over 80 columns.
2017-06-22 11:00:34 +02:00
antirez
8b768e8ea4
Aesthetic changes to #4068 PR to conform to Redis coding standard.
...
1. Inline if ... statement if short.
2. No lines over 80 columns.
2017-06-22 11:00:34 +02:00
antirez
7ef759e068
Aesthetic changes to #4068 PR to conform to Redis coding standard.
...
1. Inline if ... statement if short.
2. No lines over 80 columns.
2017-06-22 11:00:34 +02:00
Salvatore Sanfilippo
caff201dfa
Merge pull request #4068 from FreedomU007/unstable
...
Fix set with ex/px option when propagated to aof
2017-06-22 10:46:58 +02:00
Salvatore Sanfilippo
6476f1a979
Merge pull request #4068 from FreedomU007/unstable
...
Fix set with ex/px option when propagated to aof
2017-06-22 10:46:58 +02:00
Salvatore Sanfilippo
81da5ef3f9
Merge pull request #4068 from FreedomU007/unstable
...
Fix set with ex/px option when propagated to aof
2017-06-22 10:46:58 +02:00
xuzhou
1ec6363536
Optimize set command with ex/px when updating aof.
2017-06-22 11:06:40 +08:00
xuzhou
86e9f48a0c
Optimize set command with ex/px when updating aof.
2017-06-22 11:06:40 +08:00
xuzhou
efed56d73a
Optimize set command with ex/px when updating aof.
2017-06-22 11:06:40 +08:00
Salvatore Sanfilippo
63ac7012dd
Merge pull request #3802 from flowly/bugfix-calc-stat-net-output-bytes
...
Bugfix calc stat net output bytes
2017-06-20 17:01:16 +02:00
Salvatore Sanfilippo
ef446bf16d
Merge pull request #3802 from flowly/bugfix-calc-stat-net-output-bytes
...
Bugfix calc stat net output bytes
2017-06-20 17:01:16 +02:00
Salvatore Sanfilippo
5b631556be
Merge pull request #3802 from flowly/bugfix-calc-stat-net-output-bytes
...
Bugfix calc stat net output bytes
2017-06-20 17:01:16 +02:00
Salvatore Sanfilippo
570f489683
Merge pull request #4056 from season89/unstable
...
Fixed comments of slowlog duration
2017-06-20 16:55:29 +02:00
Salvatore Sanfilippo
1d857a99d5
Merge pull request #4056 from season89/unstable
...
Fixed comments of slowlog duration
2017-06-20 16:55:29 +02:00
Salvatore Sanfilippo
133f56d4f6
Merge pull request #4056 from season89/unstable
...
Fixed comments of slowlog duration
2017-06-20 16:55:29 +02:00
Salvatore Sanfilippo
c1aec3efcd
Merge pull request #3659 from cbgbt/cli-elapsed
...
cli: Only print elapsed time on OUTPUT_STANDARD.
2017-06-20 16:53:56 +02:00
Salvatore Sanfilippo
0a03187ac4
Merge pull request #3659 from cbgbt/cli-elapsed
...
cli: Only print elapsed time on OUTPUT_STANDARD.
2017-06-20 16:53:56 +02:00
Salvatore Sanfilippo
b0d58b5ddf
Merge pull request #3659 from cbgbt/cli-elapsed
...
cli: Only print elapsed time on OUTPUT_STANDARD.
2017-06-20 16:53:56 +02:00
Salvatore Sanfilippo
7901200e6a
Merge pull request #4062 from concreted/patch-1
...
(fix) Update create-cluster README
2017-06-20 16:41:10 +02:00
Salvatore Sanfilippo
a2146c7592
Merge pull request #4062 from concreted/patch-1
...
(fix) Update create-cluster README
2017-06-20 16:41:10 +02:00
Salvatore Sanfilippo
6213929455
Merge pull request #4062 from concreted/patch-1
...
(fix) Update create-cluster README
2017-06-20 16:41:10 +02:00
antirez
078cb38a81
redis-benchmark: add -t hset target.
2017-06-19 09:41:11 +02:00
antirez
2a84927f35
redis-benchmark: add -t hset target.
2017-06-19 09:41:11 +02:00
antirez
d78d6b22c6
redis-benchmark: add -t hset target.
2017-06-19 09:41:11 +02:00
Aric Huang
143c09f422
(fix) Update create-cluster README
...
Fix a few typos/adjust wording in `create-cluster` README
2017-06-16 16:10:00 -07:00
Aric Huang
ee5044eef0
(fix) Update create-cluster README
...
Fix a few typos/adjust wording in `create-cluster` README
2017-06-16 16:10:00 -07:00
Aric Huang
98d3075f2f
(fix) Update create-cluster README
...
Fix a few typos/adjust wording in `create-cluster` README
2017-06-16 16:10:00 -07:00
xuzhou
3436bcf681
Fix set with ex/px option when propagated to aof
2017-06-16 17:51:38 +08:00
xuzhou
530fcf8687
Fix set with ex/px option when propagated to aof
2017-06-16 17:51:38 +08:00
xuzhou
809a73be97
Fix set with ex/px option when propagated to aof
2017-06-16 17:51:38 +08:00
antirez
08536da477
SLOWLOG: log offending client address and name.
2017-06-15 12:57:54 +02:00
antirez
53cb27b1d7
SLOWLOG: log offending client address and name.
2017-06-15 12:57:54 +02:00
antirez
6b1c3f89ab
SLOWLOG: log offending client address and name.
2017-06-15 12:57:54 +02:00
antirez
efff456faa
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2017-06-14 18:29:53 +02:00
antirez
ab9d398835
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2017-06-14 18:29:53 +02:00
antirez
02c7600ac7
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2017-06-14 18:29:53 +02:00
Qu Chen
3abc3b687a
Implement getKeys procedure for georadius and georadiusbymember
...
commands.
2017-06-14 18:15:48 +02:00
Qu Chen
4740424049
Implement getKeys procedure for georadius and georadiusbymember
...
commands.
2017-06-14 18:15:48 +02:00