MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / SchedSyncDisk

Method SchedSyncDisk

src/tablet/tablet_impl.cc:4275–4283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4273}
4274
4275void TabletImpl::SchedSyncDisk(uint32_t tid, uint32_t pid) {
4276 std::shared_ptr<LogReplicator> replicator = GetReplicator(tid, pid);
4277 if (replicator) {
4278 replicator->SyncToDisk();
4279 io_pool_.DelayTask(
4280 FLAGS_binlog_sync_to_disk_interval,
4281 boost::bind(&TabletImpl::SchedSyncDisk, this, tid, pid));
4282 }
4283}
4284
4285void TabletImpl::SchedDelBinlog(uint32_t tid, uint32_t pid) {
4286 std::shared_ptr<LogReplicator> replicator = GetReplicator(tid, pid);

Callers

nothing calls this directly

Calls 1

SyncToDiskMethod · 0.80

Tested by

no test coverage detected