From 998e750468821df37e051a1cea64ffce96554fd6 Mon Sep 17 00:00:00 2001 From: shengjh <1572099106@qq.com> Date: Wed, 30 Sep 2020 10:35:51 +0800 Subject: [PATCH] Fix bug for multi proxys can not update collection info Signed-off-by: shengjh <1572099106@qq.com> --- proxy/src/server/MetaWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/server/MetaWrapper.cpp b/proxy/src/server/MetaWrapper.cpp index da71af0a35..2af470e204 100644 --- a/proxy/src/server/MetaWrapper.cpp +++ b/proxy/src/server/MetaWrapper.cpp @@ -72,7 +72,7 @@ Status MetaWrapper::Init() { auto f = [&](const etcdserverpb::WatchResponse &res) { UpdateMeta(res); }; - watcher_ = std::make_shared(etcd_addr, segment_path_, f, true); + watcher_ = std::make_shared(etcd_addr, etcd_root_path_, f, true); return SyncMeta(); } catch (const std::exception &e) {