MCPcopy Create free account
hub / github.com/antirez/disque / rewriteAppendOnlyFile

Function rewriteAppendOnlyFile

src/aof.c:753–864  ·  view source on GitHub ↗

Write a sequence of commands able to fully rebuild the dataset into * "filename". Used both by BGREWRITEAOF and SHUTDOWN REWRITE. * * If 'background' is non-zero, the function assumes to be running in the * context of a child process, so it will attempt to read the accumulated * difference buffer from the parent process (all the writes happening in the * parent side while we rewrite the AOF)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

prepareForShutdownFunction · 0.85

Calls 15

serverLogFunction · 0.85
rioInitWithFileFunction · 0.85
rioSetAutoSyncFunction · 0.85
serializeJobFunction · 0.85
rioWriteFunction · 0.85
rioWriteBulkStringFunction · 0.85
aeWaitFunction · 0.85
aofReadDiffFromParentFunction · 0.85
anetNonBlockFunction · 0.85
syncReadFunction · 0.85
sdsemptyFunction · 0.70
dictGetIteratorFunction · 0.70

Tested by

no test coverage detected