MCPcopy Create free account
hub / github.com/F-Stack/f-stack / loadingProgress

Function loadingProgress

app/redis-6.2.6/src/rdb.c:2364–2368  ·  view source on GitHub ↗

Refresh the loading progress info */

Source from the content-addressed store, hash-verified

2362
2363/* Refresh the loading progress info */
2364void loadingProgress(off_t pos) {
2365 server.loading_loaded_bytes = pos;
2366 if (server.stat_peak_memory < zmalloc_used_memory())
2367 server.stat_peak_memory = zmalloc_used_memory();
2368}
2369
2370/* Loading finished */
2371void stopLoading(int success) {

Callers 2

rdbLoadProgressCallbackFunction · 0.85
loadAppendOnlyFileFunction · 0.85

Calls 1

zmalloc_used_memoryFunction · 0.85

Tested by

no test coverage detected