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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
4740424049
Implement getKeys procedure for georadius and georadiusbymember
...
commands.
2017-06-14 18:15:48 +02:00
Qu Chen
29122cfa05
Implement getKeys procedure for georadius and georadiusbymember
...
commands.
2017-06-14 18:15:48 +02:00
xuchengxuan
3fc4bf07cc
Fixed comments of slowlog duration
2017-06-14 16:42:21 +08:00
xuchengxuan
44143324d0
Fixed comments of slowlog duration
2017-06-14 16:42:21 +08:00
Salvatore Sanfilippo
d3b32ca48d
Merge pull request #4034 from amallia/patch-1
...
Fixed comment in clusterMsg version field
2017-06-13 06:28:23 -07:00
Salvatore Sanfilippo
d48581ab72
Merge pull request #4034 from amallia/patch-1
...
Fixed comment in clusterMsg version field
2017-06-13 06:28:23 -07:00
Salvatore Sanfilippo
33035cad04
Merge pull request #4035 from amallia/patch-2
...
Removed duplicate 'sys/socket.h' include
2017-06-13 06:27:31 -07:00
Salvatore Sanfilippo
617941ccf9
Merge pull request #4035 from amallia/patch-2
...
Removed duplicate 'sys/socket.h' include
2017-06-13 06:27:31 -07:00
antirez
5877c02c51
Fix PERSIST expired key resuscitation issue #4048 .
2017-06-13 10:35:51 +02:00
antirez
8606449fe1
Fix PERSIST expired key resuscitation issue #4048 .
2017-06-13 10:35:51 +02:00
Antonio Mallia
2d1d57eb47
Removed duplicate 'sys/socket.h' include
2017-06-04 15:26:53 +01:00
Antonio Mallia
88423d5bfd
Removed duplicate 'sys/socket.h' include
2017-06-04 15:26:53 +01:00
Antonio Mallia
591dba8055
Fixed comment in clusterMsg version field
2017-06-04 15:09:05 +01:00
Antonio Mallia
eb83bd77be
Fixed comment in clusterMsg version field
2017-06-04 15:09:05 +01:00
Zachary Marquez
a3e53cf9bc
Prevent expirations and evictions while paused
...
Proposed fix to https://github.com/antirez/redis/issues/4027
2017-06-01 16:28:40 -05:00
Zachary Marquez
541e4de976
Prevent expirations and evictions while paused
...
Proposed fix to https://github.com/antirez/redis/issues/4027
2017-06-01 16:28:40 -05:00
antirez
e91b81c612
More informative -MISCONF error message.
2017-05-19 12:03:30 +02:00
antirez
b47078f14a
More informative -MISCONF error message.
2017-05-19 12:03:30 +02:00