mirror of https://mirror.osredm.com/root/redis.git
Use am instead of using server.aof_manifest directly to call getBaseAndIncrAppendOnlyFilesSize (#10123)
This commit is contained in:
parent
50fa627b90
commit
d7aeb2ce5f
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue