Fix qemu-img broken in 0.5.11

Caused by the lack of reenterability of the main cluster_client function
This commit is contained in:
Vitaliy Filippov
2021-04-08 14:59:20 +03:00
parent 462650134e
commit efb3678606
3 changed files with 26 additions and 1 deletions
+1
View File
@@ -82,6 +82,7 @@ class cluster_client_t
bool pgs_loaded = false;
ring_consumer_t consumer;
std::vector<std::function<void(void)>> on_ready_hooks;
int continuing_ops = 0;
public:
etcd_state_client_t st_cli;