Oran Agra
8e8d957ff8
fix to latency monitor reporting wrong max latency
...
in some cases LATENCY HISTORY reported latency that was
higher than the max latency reported by LATENCY LATEST / DOCTOR
2018-02-13 15:58:40 +02:00
Oran Agra
a151e92947
fix to latency monitor reporting wrong max latency
...
in some cases LATENCY HISTORY reported latency that was
higher than the max latency reported by LATENCY LATEST / DOCTOR
2018-02-13 15:58:40 +02:00
赵磊
aacecbc997
Remove updateLFU() in dbOverwrite().
2018-02-11 21:02:07 +08:00
赵磊
04a3125f02
Remove updateLFU() in dbOverwrite().
2018-02-11 21:02:07 +08:00
antirez
32ac4c64ba
Rax updated to latest antirez/rax commit.
2018-02-02 11:10:18 +01:00
antirez
0b58392719
Rax updated to latest antirez/rax commit.
2018-02-02 11:10:18 +01:00
zhaozhao.zz
968cb26693
config: handle special configuration "" for auth
2018-01-26 22:49:39 +08:00
zhaozhao.zz
59eb641bdf
config: handle special configuration "" for auth
2018-01-26 22:49:39 +08:00
Salvatore Sanfilippo
4aa2ecd98b
Merge pull request #4269 from jianqingdu/unstable
...
fix not call va_end() when syncWrite() failed
2018-01-24 10:55:25 +01:00
Salvatore Sanfilippo
6314165e4d
Merge pull request #4269 from jianqingdu/unstable
...
fix not call va_end() when syncWrite() failed
2018-01-24 10:55:25 +01:00
Salvatore Sanfilippo
4bffeda8b0
Merge pull request #4628 from mnunberg/patch-1
...
redismodule.h: Check ModuleNameBusy before calling it
2018-01-24 10:48:04 +01:00
Salvatore Sanfilippo
7c41737e39
Merge pull request #4628 from mnunberg/patch-1
...
redismodule.h: Check ModuleNameBusy before calling it
2018-01-24 10:48:04 +01:00
antirez
5f5be1ee33
Fix integration test NOREPLICAS error time dependent false positive.
2018-01-24 10:10:48 +01:00
antirez
a8d678d26d
Fix integration test NOREPLICAS error time dependent false positive.
2018-01-24 10:10:48 +01:00
Mark Nunberg
062bd733da
redismodule.h: Check ModuleNameBusy before calling it
...
Older versions might not have this function.
2018-01-23 10:49:18 -05:00
Mark Nunberg
eb80bec044
redismodule.h: Check ModuleNameBusy before calling it
...
Older versions might not have this function.
2018-01-23 10:49:18 -05:00
antirez
727dd43614
Fix migrateCommand() access of not initialized byte.
2018-01-18 12:41:05 +01:00
antirez
bca90f9ef7
Fix migrateCommand() access of not initialized byte.
2018-01-18 12:41:05 +01:00
Guy Benoish
fd8efb7c36
Replication buffer fills up on high rate traffic.
...
When feeding the master with a high rate traffic the the slave's feed is much slower.
This causes the replication buffer to grow (indefinitely) which leads to slave disconnection.
The problem is that writeToClient() decides to stop writing after NET_MAX_WRITES_PER_EVENT
writes (In order to be fair to clients).
We should ignore this when the client is a slave.
It's better if clients wait longer, the alternative is that the slave has no chance to stay in
sync in this situation.
2018-01-18 12:10:48 +01:00
Guy Benoish
99e7e46da1
Replication buffer fills up on high rate traffic.
...
When feeding the master with a high rate traffic the the slave's feed is much slower.
This causes the replication buffer to grow (indefinitely) which leads to slave disconnection.
The problem is that writeToClient() decides to stop writing after NET_MAX_WRITES_PER_EVENT
writes (In order to be fair to clients).
We should ignore this when the client is a slave.
It's better if clients wait longer, the alternative is that the slave has no chance to stay in
sync in this situation.
2018-01-18 12:10:48 +01:00
antirez
1673a3f32c
Cluster: improve anti-affinity algo in redis-trib.rb.
...
See #3462 and related PRs.
We use a simple algorithm to calculate the level of affinity violation,
and then an optimizer that performs random swaps until things improve.
2018-01-18 11:44:19 +01:00
antirez
0faed417e5
Cluster: improve anti-affinity algo in redis-trib.rb.
...
See #3462 and related PRs.
We use a simple algorithm to calculate the level of affinity violation,
and then an optimizer that performs random swaps until things improve.
2018-01-18 11:44:19 +01:00
antirez
e1e0bbe04d
Remove useless comment from serverCron().
...
The behavior is well specified by the code itself.
2018-01-17 11:23:41 +01:00
antirez
dbc3625a80
Remove useless comment from serverCron().
...
The behavior is well specified by the code itself.
2018-01-17 11:23:41 +01:00
Salvatore Sanfilippo
a18e4c964e
Merge pull request #4546 from hqin6/unstable
...
fixbug for #4545 dead loop aof rewrite
2018-01-17 11:21:55 +01:00
Salvatore Sanfilippo
a28f3fc568
Merge pull request #4546 from hqin6/unstable
...
fixbug for #4545 dead loop aof rewrite
2018-01-17 11:21:55 +01:00
heqin
3d3faa0a19
fixbug for #4545 dead loop aof rewrite
2018-01-17 18:08:30 +08:00
heqin
28405f1f75
fixbug for #4545 dead loop aof rewrite
2018-01-17 18:08:30 +08:00
Salvatore Sanfilippo
81401878de
Merge pull request #4609 from Qinch/unstable
...
fix assert problem in ZIP_DECODE_PREVLENSIZE macro
2018-01-17 10:45:11 +01:00
Salvatore Sanfilippo
d19edaf43f
Merge pull request #4609 from Qinch/unstable
...
fix assert problem in ZIP_DECODE_PREVLENSIZE macro
2018-01-17 10:45:11 +01:00
antirez
b23927b240
Hopefully more clear comment to explain the change in #4607 .
2018-01-16 15:52:13 +01:00
antirez
299e560a2e
Hopefully more clear comment to explain the change in #4607 .
2018-01-16 15:52:13 +01:00
qinchao
1e0e168570
fix assert problem in ZIP_DECODE_PREVLENSIZE
...
, see issue: https://github.com/antirez/redis/issues/4587
2018-01-16 22:43:06 +08:00
qinchao
f2db112964
fix assert problem in ZIP_DECODE_PREVLENSIZE
...
, see issue: https://github.com/antirez/redis/issues/4587
2018-01-16 22:43:06 +08:00
Salvatore Sanfilippo
0cc43760d7
Merge pull request #4607 from oranagra/psync2_backlog
...
PSYNC2 fix - promoted slave should hold on to it's backlog
2018-01-16 15:32:58 +01:00
Salvatore Sanfilippo
887e242cea
Merge pull request #4607 from oranagra/psync2_backlog
...
PSYNC2 fix - promoted slave should hold on to it's backlog
2018-01-16 15:32:58 +01:00
Oran Agra
689b64c3ad
PSYNC2 fix - promoted slave should hold on to it's backlog
...
after a slave is promoted (assuming it has no slaves
and it booted over an hour ago), it will lose it's replication
backlog at the next replication cron, rather than waiting for slaves
to connect to it.
so on a simple master/slave faiover, if the new slave doesn't connect
immediately, it may be too later and PSYNC2 will fail.
2018-01-16 10:10:42 +02:00
Oran Agra
09680b7c6f
PSYNC2 fix - promoted slave should hold on to it's backlog
...
after a slave is promoted (assuming it has no slaves
and it booted over an hour ago), it will lose it's replication
backlog at the next replication cron, rather than waiting for slaves
to connect to it.
so on a simple master/slave faiover, if the new slave doesn't connect
immediately, it may be too later and PSYNC2 will fail.
2018-01-16 10:10:42 +02:00
zhaozhao.zz
1b8eec3e53
aof: format code and comment
2018-01-15 13:01:03 +01:00
zhaozhao.zz
1ebec13091
aof: format code and comment
2018-01-15 13:01:03 +01:00
antirez
c45366be0a
Put more details in the comment introduced by #4601 .
2018-01-15 12:50:08 +01:00
antirez
402053e9fe
Put more details in the comment introduced by #4601 .
2018-01-15 12:50:08 +01:00
Salvatore Sanfilippo
1ed5ac7ce5
Merge pull request #4601 from soloestoy/fix-memoryleak-for-lazy-server-del
...
lazyfree: fix memory leak for lazyfree-lazy-server-del
2018-01-15 12:43:55 +01:00
Salvatore Sanfilippo
bcb5bc6742
Merge pull request #4601 from soloestoy/fix-memoryleak-for-lazy-server-del
...
lazyfree: fix memory leak for lazyfree-lazy-server-del
2018-01-15 12:43:55 +01:00
zhaozhao.zz
0517ab8397
lazyfree: fix memory leak for lazyfree-lazy-server-del
2018-01-15 00:45:37 +08:00
zhaozhao.zz
3f7e0f708f
lazyfree: fix memory leak for lazyfree-lazy-server-del
2018-01-15 00:45:37 +08:00
Salvatore Sanfilippo
aeeb747796
Merge pull request #4575 from soloestoy/bugfix-benchmark
...
redis-benchmark: bugfix - handle zero liveclients in right way
2018-01-12 17:43:01 +01:00
Salvatore Sanfilippo
9e2a305918
Merge pull request #4575 from soloestoy/bugfix-benchmark
...
redis-benchmark: bugfix - handle zero liveclients in right way
2018-01-12 17:43:01 +01:00
Salvatore Sanfilippo
72187fa8a5
Merge pull request #4581 from dvirsky/module_unlink
...
Added RM_UnlinkKey - a low level analog to UNLINK command
2018-01-12 17:41:09 +01:00
Salvatore Sanfilippo
86fce15f71
Merge pull request #4581 from dvirsky/module_unlink
...
Added RM_UnlinkKey - a low level analog to UNLINK command
2018-01-12 17:41:09 +01:00