MCPcopy Create free account
hub / github.com/ByConity/ByConity / sync

Method sync

src/DaemonManager/BackgroundJob.cpp:433–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433bool BackgroundJob::sync(const ServerInfo & server_info)
434{
435 CnchBGThreadStatus store_status = daemon_job.getStatusPersistentStore().getStatus(storage_id.uuid, true);
436 setExpectedStatus(store_status);
437
438 std::optional<BackgroundJob::SyncAction> action = getSyncAction(server_info);
439 if (!action)
440 return false;
441 return executeSyncAction(action.value());
442}
443
444void BackgroundJob::setExpectedStatus(CnchBGThreadStatus status_)
445{

Callers 5

createTableMethod · 0.45
alterTableMethod · 0.45
transactionMethod · 0.45
executeImplMethod · 0.45
TEST_FFunction · 0.45

Calls 2

getStatusMethod · 0.45
valueMethod · 0.45

Tested by 1

TEST_FFunction · 0.36