diff options
author | chenyang8094 <chenyang8094@users.noreply.github.com> | 2022-01-17 15:02:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 09:02:09 +0200 |
commit | d7aeb2ce5f7c1ae8640fd24538393672600b7607 (patch) | |
tree | a117e447a7a8d4ea6394fc5c889cbe9ba7a1212c /src/aof.c | |
parent | 50fa627b90cfcd322ed92c9ab3dc13ea87bc6b34 (diff) | |
download | redis-d7aeb2ce5f7c1ae8640fd24538393672600b7607.tar.gz |
Use am instead of using server.aof_manifest directly to call getBaseAndIncrAppendOnlyFilesSize (#10123)
Diffstat (limited to 'src/aof.c')
-rw-r--r-- | src/aof.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1574,7 +1574,7 @@ int loadAppendOnlyFiles(aofManifest *am) { /* Here we calculate the total size of all BASE and INCR files in * advance, it will be set to `server.loading_total_bytes`. */ - total_size = getBaseAndIncrAppendOnlyFilesSize(server.aof_manifest); + total_size = getBaseAndIncrAppendOnlyFilesSize(am); startLoading(total_size, RDBFLAGS_AOF_PREAMBLE, 0); /* Load BASE AOF if needed. */ |