MCPcopy Create free account
hub / github.com/baidu/tera / SetTimeStamp

Method SetTimeStamp

src/tabletnode/tabletnode_sysinfo.cc:465–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465void TabletNodeSysInfo::SetTimeStamp(int64_t ts) {
466 MutexLock lock(&mutex_);
467 if (!info_.unique()) {
468 SwitchInfo();
469 }
470 assert(info_.unique());
471 info_->set_timestamp(ts);
472}
473
474struct DBSize {
475 uint64_t size;

Callers 1

RefreshAndDumpSysInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected