MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / aofFsyncInProgress

Function aofFsyncInProgress

src/aof.cpp:217–219  ·  view source on GitHub ↗

Return true if an AOf fsync is currently already in progress in a * BIO thread. */

Source from the content-addressed store, hash-verified

215/* Return true if an AOf fsync is currently already in progress in a
216 * BIO thread. */
217int aofFsyncInProgress(void) {
218 return bioPendingJobsOfType(BIO_AOF_FSYNC) != 0;
219}
220
221/* Starts a background task that performs fsync() against the specified
222 * file descriptor (the one of the AOF file) in another thread. */

Callers 1

flushAppendOnlyFileFunction · 0.85

Calls 1

bioPendingJobsOfTypeFunction · 0.85

Tested by

no test coverage detected