| 4273 | } |
| 4274 | |
| 4275 | void 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 | |
| 4285 | void TabletImpl::SchedDelBinlog(uint32_t tid, uint32_t pid) { |
| 4286 | std::shared_ptr<LogReplicator> replicator = GetReplicator(tid, pid); |
nothing calls this directly
no test coverage detected