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

Function stopLoading

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

Loading finished */

Source from the content-addressed store, hash-verified

2369
2370/* Loading finished */
2371void stopLoading(int success) {
2372 server.loading = 0;
2373 blockingOperationEnds();
2374 rdbFileBeingLoaded = NULL;
2375
2376 /* Fire the loading modules end event. */
2377 moduleFireServerEvent(REDISMODULE_EVENT_LOADING,
2378 success?
2379 REDISMODULE_SUBEVENT_LOADING_ENDED:
2380 REDISMODULE_SUBEVENT_LOADING_FAILED,
2381 NULL);
2382}
2383
2384void startSaving(int rdbflags) {
2385 /* Fire the persistence modules end event. */

Callers 4

readSyncBulkPayloadFunction · 0.85
rdbLoadFunction · 0.85
loadAppendOnlyFileFunction · 0.85
redis_check_rdbFunction · 0.85

Calls 2

blockingOperationEndsFunction · 0.85
moduleFireServerEventFunction · 0.85

Tested by

no test coverage detected