mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 15:21:03 +00:00
print bytes used at exit on SHUTDOWN
This commit is contained in:
parent
0eeb2a4b8f
commit
b284af55d8
3
TODO
3
TODO
@ -1,9 +1,8 @@
|
|||||||
BEFORE REDIS 1.0.0-rc1
|
BEFORE REDIS 1.0.0-rc1
|
||||||
|
|
||||||
- SMOVE _key1_ _key2_ _ele_. Pop an element form _key1_ and push (SADD or LPUSH) it nto _key2_.
|
- Remove max number of args limit
|
||||||
- What happens if the saving child gets killed instead to end normally? Handle this.
|
- What happens if the saving child gets killed instead to end normally? Handle this.
|
||||||
- Make sinterstore / unionstore / sdiffstore returning the cardinality of the resulting set.
|
- Make sinterstore / unionstore / sdiffstore returning the cardinality of the resulting set.
|
||||||
- Remove max number of args limit
|
|
||||||
- network layer stresser in test in demo, make sure to set/get random streams of data and check that what we read back is byte-by-byte the same.
|
- network layer stresser in test in demo, make sure to set/get random streams of data and check that what we read back is byte-by-byte the same.
|
||||||
- maxclients directive
|
- maxclients directive
|
||||||
- check 'server.dirty' everywere
|
- check 'server.dirty' everywere
|
||||||
|
1
redis.c
1
redis.c
@ -2394,6 +2394,7 @@ static void shutdownCommand(redisClient *c) {
|
|||||||
if (server.daemonize) {
|
if (server.daemonize) {
|
||||||
unlink(server.pidfile);
|
unlink(server.pidfile);
|
||||||
}
|
}
|
||||||
|
redisLog(REDIS_WARNING,"%zu bytes used at exit",zmalloc_used_memory());
|
||||||
redisLog(REDIS_WARNING,"Server exit now, bye bye...");
|
redisLog(REDIS_WARNING,"Server exit now, bye bye...");
|
||||||
exit(1);
|
exit(1);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user