| 344 | } |
| 345 | |
| 346 | static void InsOnMetaChange(const galaxy::ins::sdk::WatchParam& param, |
| 347 | galaxy::ins::sdk::SDKError error) { |
| 348 | LOG(INFO) << "recv meta change event"; |
| 349 | InsTabletNodeZkAdapter* ins_adp = static_cast<InsTabletNodeZkAdapter*>(param.context); |
| 350 | ins_adp->OnMetaChange(param.value, param.deleted); |
| 351 | } |
| 352 | |
| 353 | void InsTabletNodeZkAdapter::Init() { |
| 354 | std::string root_path = FLAGS_tera_ins_root_path; |
nothing calls this directly
no test coverage detected