mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
zkcpp: timeout if zk session is expired [#METR-11085]
This commit is contained in:
parent
728bdf4928
commit
c39737b755
@ -33,7 +33,7 @@ int main()
|
||||
std::cin >> unused;
|
||||
|
||||
children.clear();
|
||||
std::cout << "will getChildren (this call will block forever, which seems to be zkcpp issue)" << std::endl;
|
||||
std::cout << "will getChildren (this call will either succeded either return OperationTimeout)" << std::endl;
|
||||
ret = zookeeper.getChildren("/", nullptr, children, stat);
|
||||
|
||||
std::cout << "getChildren returned " << zk::ReturnCode::toString(ret) << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user