We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09f82bb commit 6af7fd7Copy full SHA for 6af7fd7
src/Interpreters/ClusterDiscovery.cpp
@@ -480,7 +480,7 @@ void ClusterDiscovery::initialUpdate()
480
zk->createAncestors(path->zk_path);
481
zk->createIfNotExists(path->zk_path, "");
482
483
- auto watch_callback = [&path](auto) { path->need_update = true; };
+ auto watch_callback = [path](auto) { path->need_update = true; };
484
zk->getChildrenWatch(path->zk_path, nullptr, watch_callback);
485
}
486
0 commit comments