提交 77ca5fcb 编写于 作者: A antirez

Emit a log message when AOF fsync is still in progress but we are forced to...

Emit a log message when AOF fsync is still in progress but we are forced to write from the main thread since two seconds already elapsed.
上级 a60b397b
......@@ -101,6 +101,7 @@ void flushAppendOnlyFile(int force) {
}
/* Otherwise fall trough, and go write since we can't wait
* over two seconds. */
redisLog(REDIS_NOTICE,"Asynchronous AOF fsync is taking too long (disk is busy?). Writing the AOF buffer without waiting for fsync to complete, this may slow down Redis.");
}
}
/* If you are following this code path, then we are going to write so
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册