- 24 8月, 2012 1 次提交
-
-
由 antirez 提交于
The previous implementation of zmalloc.c was not able to handle out of memory in an application-specific way. It just logged an error on standard error, and aborted. The result was that in the case of an actual out of memory in Redis where malloc returned NULL (In Linux this actually happens under specific overcommit policy settings and/or with no or little swap configured) the error was not properly logged in the Redis log. This commit fixes this problem, fixing issue #509. Now the out of memory is properly reported in the Redis log and a stack trace is generated. The approach used is to provide a configurable out of memory handler to zmalloc (otherwise the default one logging the event on the standard output is used).
-
- 24 4月, 2012 2 次提交
- 10 4月, 2012 1 次提交
-
-
由 antirez 提交于
-
- 09 4月, 2012 1 次提交
-
-
由 antirez 提交于
-
- 03 4月, 2012 2 次提交
- 02 4月, 2012 5 次提交
- 01 4月, 2012 1 次提交
-
-
由 antirez 提交于
-
- 08 3月, 2012 1 次提交
-
-
由 antirez 提交于
clusterGetRandomName() generalized into getRandomHexChars() so that we can use it for the run_id field as well.
-
- 25 1月, 2012 3 次提交
- 09 11月, 2011 1 次提交
-
-
由 antirez 提交于
-
- 23 10月, 2011 1 次提交
-
-
由 antirez 提交于
-
- 20 10月, 2011 1 次提交
-
-
由 antirez 提交于
-
- 17 10月, 2011 3 次提交
- 13 10月, 2011 1 次提交
-
-
由 antirez 提交于
-
- 07 10月, 2011 2 次提交
- 05 10月, 2011 3 次提交
-
-
由 antirez 提交于
A node can populate a slot if a message from a trusted slot is received claiming ownership of this slot, that is currently empty or served by a node in FAIL state. However this feature was broken since calling clusterAddSlot() was not enough as the slot bit is already set in the node that pong us. We need to directly alter the table. This commit fixes the issue.
-
由 antirez 提交于
-
由 antirez 提交于
-
- 03 10月, 2011 2 次提交
- 01 10月, 2011 3 次提交
-
-
由 antirez 提交于
when processing gossip packets make sure to also update the node bitmap when associating slots to nodes. Fixed simply using the appropriate helper function to add a slot.
-
由 antirez 提交于
-
由 antirez 提交于
Clear the importing status from the slot if a CLUSTER SETSLOT command permanently assigns the slot to the importing node.
-
- 29 9月, 2011 2 次提交
- 22 9月, 2011 1 次提交
-
-
由 antirez 提交于
rioInitWithFile nad rioInitWithBuffer functions now take a rio structure pointer to avoid copying a structure to return value to the caller.
-
- 20 6月, 2011 1 次提交
-
-
由 antirez 提交于
-
- 14 5月, 2011 1 次提交
-
-
由 Pieter Noordhuis 提交于
-
- 13 5月, 2011 1 次提交
-
-
由 Pieter Noordhuis 提交于
-