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
0a0f83ab
Commit
0a0f83ab
authored
Jan 09, 2011
by
antirez
Browse files
DEBUG FLUSHCACHE needs to wait that everything was synched on disk
parent
69bfffb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
0a0f83ab
...
...
@@ -182,6 +182,9 @@ void debugCommand(redisClient *c) {
addReplyError
(
c
,
"DEBUG FLUSHCACHE called with diskstore off."
);
return
;
}
else
{
/* To flush the whole cache we need to wait for everything to
* be flushed on disk... */
cacheForcePointInTime
();
emptyDb
();
addReply
(
c
,
shared
.
ok
);
return
;
...
...
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