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

Method NotifyTableChanged

src/nameserver/name_server_impl.cc:8056–8063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8054}
8055
8056void NameServerImpl::NotifyTableChanged() {
8057 bool ok = zk_client_->Increment(zk_table_changed_notify_node_);
8058 if (!ok) {
8059 PDLOG(WARNING, "increment failed. node is %s", zk_table_changed_notify_node_.c_str());
8060 return;
8061 }
8062 PDLOG(INFO, "notify table changed ok");
8063}
8064
8065bool NameServerImpl::GetTableInfo(const std::string& table_name, const std::string& db_name,
8066 std::shared_ptr<TableInfo>* table_info) {

Callers

nothing calls this directly

Calls 1

IncrementMethod · 0.80

Tested by

no test coverage detected