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

Method OnRootNodeChanged

src/tabletnode/tabletnode_zk_adapter.cc:208–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void TabletNodeZkAdapter::OnRootNodeChanged(const std::string& root_tablet_addr) {
209 LOG(INFO) << "root node is changed";
210 tabletnode_impl_->SetRootTabletAddr(root_tablet_addr);
211}
212
213void TabletNodeZkAdapter::OnSafeModeMarkCreated() {
214 LOG(INFO) << "safemode mark node is created";

Callers

nothing calls this directly

Calls 1

SetRootTabletAddrMethod · 0.80

Tested by

no test coverage detected