mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +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
|
||||
|
||||
- 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.
|
||||
- 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.
|
||||
- maxclients directive
|
||||
- check 'server.dirty' everywere
|
||||
|
3
redis.c
3
redis.c
@ -2392,8 +2392,9 @@ static void shutdownCommand(redisClient *c) {
|
||||
/* XXX: TODO kill the child if there is a bgsave in progress */
|
||||
if (rdbSave(server.dbfilename) == REDIS_OK) {
|
||||
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...");
|
||||
exit(1);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user