mirror of https://github.com/milvus-io/milvus.git
Fix bug for multi proxys can not update collection info
Signed-off-by: shengjh <1572099106@qq.com>pull/4973/head^2
parent
086d7849ec
commit
998e750468
|
@ -72,7 +72,7 @@ Status MetaWrapper::Init() {
|
||||||
auto f = [&](const etcdserverpb::WatchResponse &res) {
|
auto f = [&](const etcdserverpb::WatchResponse &res) {
|
||||||
UpdateMeta(res);
|
UpdateMeta(res);
|
||||||
};
|
};
|
||||||
watcher_ = std::make_shared<milvus::master::Watcher>(etcd_addr, segment_path_, f, true);
|
watcher_ = std::make_shared<milvus::master::Watcher>(etcd_addr, etcd_root_path_, f, true);
|
||||||
return SyncMeta();
|
return SyncMeta();
|
||||||
}
|
}
|
||||||
catch (const std::exception &e) {
|
catch (const std::exception &e) {
|
||||||
|
|
Loading…
Reference in New Issue