mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
███████████: added writing files to zookeeper [#METR-10172]
This commit is contained in:
parent
f53eba5eed
commit
72edd15363
@ -33,7 +33,7 @@ public:
|
||||
<session_timeout_ms>30000</session_timeout_ms>
|
||||
</zookeeper>
|
||||
*/
|
||||
ZooKeeper(const Poco::Util::LayeredConfiguration & config, const std::string & config_name,
|
||||
ZooKeeper(const Poco::Util::AbstractConfiguration & config, const std::string & config_name,
|
||||
WatchFunction * watch = nullptr);
|
||||
|
||||
~ZooKeeper();
|
||||
|
@ -75,7 +75,7 @@ ZooKeeper::ZooKeeper(const std::string & hosts, int32_t sessionTimeoutMs, WatchF
|
||||
|
||||
struct ZooKeeperArgs
|
||||
{
|
||||
ZooKeeperArgs(const Poco::Util::LayeredConfiguration & config, const std::string & config_name)
|
||||
ZooKeeperArgs(const Poco::Util::AbstractConfiguration & config, const std::string & config_name)
|
||||
{
|
||||
Poco::Util::AbstractConfiguration::Keys keys;
|
||||
config.keys(config_name, keys);
|
||||
@ -102,7 +102,7 @@ struct ZooKeeperArgs
|
||||
size_t session_timeout_ms;
|
||||
};
|
||||
|
||||
ZooKeeper::ZooKeeper(const Poco::Util::LayeredConfiguration & config, const std::string & config_name,
|
||||
ZooKeeper::ZooKeeper(const Poco::Util::AbstractConfiguration & config, const std::string & config_name,
|
||||
WatchFunction * watch)
|
||||
{
|
||||
ZooKeeperArgs args(config, config_name);
|
||||
|
Loading…
Reference in New Issue
Block a user