diff options
author | antirez <antirez@gmail.com> | 2012-03-25 11:27:35 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2012-03-25 11:27:35 +0200 |
commit | c1d01b3c5796ee7e3f466e0db9f55d37e843cbb9 (patch) | |
tree | 1bbdbb588580a46e8f74a04c2f2e055b479bae65 /src/aof.c | |
parent | 512f682340eb74aaedc525e834a943427999508c (diff) | |
download | redis-c1d01b3c5796ee7e3f466e0db9f55d37e843cbb9.tar.gz |
New INFO field aof_delayed_fsync introduced.
This new field counts all the times Redis is configured with AOF enabled and
fsync policy 'everysec', but the previous fsync performed by the
background thread was not able to complete within two seconds, forcing
Redis to perform a write against the AOF file while the fsync is still
in progress (likely a blocking operation).
Diffstat (limited to 'src/aof.c')
-rw-r--r-- | src/aof.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -108,6 +108,7 @@ void flushAppendOnlyFile(int force) { } /* Otherwise fall trough, and go write since we can't wait * over two seconds. */ + server.aof_delayed_fsync++; 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."); } } |