Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b284af55
Commit
b284af55
authored
Apr 28, 2009
by
antirez
Browse files
print bytes used at exit on SHUTDOWN
parent
0eeb2a4b
Changes
2
Show whitespace changes
Inline
Side-by-side
TODO
View file @
b284af55
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
...
...
redis.c
View file @
b284af55
...
@@ -2394,6 +2394,7 @@ static void shutdownCommand(redisClient *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 {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment