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

Function aof_background_fsync

src/aof.cpp:223–225  ·  view source on GitHub ↗

Starts a background task that performs fsync() against the specified * file descriptor (the one of the AOF file) in another thread. */

Source from the content-addressed store, hash-verified

221/* Starts a background task that performs fsync() against the specified
222 * file descriptor (the one of the AOF file) in another thread. */
223void aof_background_fsync(int fd) {
224 bioCreateFsyncJob(fd);
225}
226
227/* Kills an AOFRW child process if exists */
228void killAppendOnlyChild(void) {

Callers 2

flushAppendOnlyFileFunction · 0.85

Calls 1

bioCreateFsyncJobFunction · 0.85

Tested by

no test coverage detected