- 23 1月, 2018 1 次提交
-
-
由 Mark Nunberg 提交于
Older versions might not have this function.
-
- 18 1月, 2018 3 次提交
-
-
由 antirez 提交于
-
由 Guy Benoish 提交于
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.
-
由 antirez 提交于
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.
-
- 17 1月, 2018 4 次提交
-
-
由 antirez 提交于
The behavior is well specified by the code itself.
-
由 Salvatore Sanfilippo 提交于
fixbug for #4545 dead loop aof rewrite
-
由 heqin 提交于
-
由 Salvatore Sanfilippo 提交于
fix assert problem in ZIP_DECODE_PREVLENSIZE macro
-
- 16 1月, 2018 4 次提交
-
-
由 antirez 提交于
-
由 qinchao 提交于
, see issue: https://github.com/antirez/redis/issues/4587
-
由 Salvatore Sanfilippo 提交于
PSYNC2 fix - promoted slave should hold on to it's backlog
-
由 Oran Agra 提交于
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.
-
- 15 1月, 2018 4 次提交
-
-
由 zhaozhao.zz 提交于
-
由 antirez 提交于
-
由 Salvatore Sanfilippo 提交于
lazyfree: fix memory leak for lazyfree-lazy-server-del
-
由 zhaozhao.zz 提交于
-
- 13 1月, 2018 4 次提交
-
-
由 Salvatore Sanfilippo 提交于
redis-benchmark: bugfix - handle zero liveclients in right way
-
由 Salvatore Sanfilippo 提交于
Added RM_UnlinkKey - a low level analog to UNLINK command
-
由 antirez 提交于
-
由 Salvatore Sanfilippo 提交于
Fix a typo(maybe instruction?) in crash log
-
- 12 1月, 2018 1 次提交
-
-
由 antirez 提交于
This fixes a crash with Redis Cluster when OBJECT is mis-used, because getKeysUsingCommandTable() will call serverPanic() detecting we are accessing an invalid argument in the case "OBJECT foo" is called. This bug was introduced when OBJECT HELP was introduced, because the key argument is set fixed at index 2 in the command table, however now OBJECT may be called with an insufficient number of arguments to extract the key. The "Right Thing" would be to have a specific function to extract keys from the OBJECT command, however this is kinda of an overkill, so I preferred to make getKeysUsingCommandTable() more robust and just return no keys when it's not possible to honor the command table, because new commands are often added and also there are a number with an HELP subcommand violating the normal form, and crashing for this trivial reason or having many command-specific key extraction functions is not great.
-
- 11 1月, 2018 4 次提交
-
-
由 antirez 提交于
-
由 antirez 提交于
We already had client buffer limits exported as configuration options. Stick with the naming scheme already used. See #4568.
-
由 antirez 提交于
Related to #4568.
-
由 Salvatore Sanfilippo 提交于
fix RESTORE command size limits
-
- 10 1月, 2018 3 次提交
-
-
由 Salvatore Sanfilippo 提交于
Fix the firstkey, lastkey, and keystep of moduleCommand
-
由 antirez 提交于
Related to #2507.
-
由 antirez 提交于
See PR #2507. This is a reimplementation of the fix that contained different problems.
-
- 09 1月, 2018 1 次提交
-
-
由 gnuhpc 提交于
-
- 07 1月, 2018 1 次提交
-
-
由 Dvir Volk 提交于
-
- 05 1月, 2018 2 次提交
-
-
由 Salvatore Sanfilippo 提交于
Fix memory usage list bug
-
由 gnuhpc 提交于
-
- 03 1月, 2018 1 次提交
-
-
由 zhaozhao.zz 提交于
-
- 29 12月, 2017 2 次提交
-
-
由 Oran Agra 提交于
-
由 Oran Agra 提交于
- protocol parsing (processMultibulkBuffer) was limitted to 32big positions in the buffer readQueryFromClient potential overflow - rioWriteBulkCount used int, although rioWriteBulkString gave it size_t - several places in sds.c that used int for string length or index. - bugfix in RM_SaveAuxField (return was 1 or -1 and not length) - RM_SaveStringBuffer was limitted to 32bit length
-
- 22 12月, 2017 3 次提交
-
-
由 antirez 提交于
This is a fix for the #3819 improvements. The o->ptr may change because of hllSparseSet() calls, so 'hdr' must be correctly re-fetched.
-
由 antirez 提交于
This is a fix for #3819.
-
由 antirez 提交于
The commit splits the add functions into a set() and add() set of functions, so that it's possible to set registers in an independent way just having the index and count. Related to #3819, otherwise a fix is not possible.
-
- 18 12月, 2017 1 次提交
-
-
由 heqin 提交于
-
- 15 12月, 2017 1 次提交
-
-
由 Salvatore Sanfilippo 提交于
fixbug for #4538 Error opening /setting AOF rewrite IPC pipes: No suc…
-