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.
2 parents 39830d1 + 6af7fd7 commit 1ec0277Copy full SHA for 1ec0277
src/Interpreters/ClusterDiscovery.cpp
@@ -481,7 +481,7 @@ void ClusterDiscovery::initialUpdate()
481
zk->createAncestors(path->zk_path);
482
zk->createIfNotExists(path->zk_path, "");
483
484
- auto watch_callback = [&path](auto) { path->need_update = true; };
+ auto watch_callback = [path](auto) { path->need_update = true; };
485
zk->getChildrenWatch(path->zk_path, nullptr, watch_callback);
486
}
487
0 commit comments