Prefer local etcd in OSD

This commit is contained in:
Vitaliy Filippov
2021-11-27 00:36:53 +03:00
parent 6e12aca53b
commit fea451b4db
2 changed files with 25 additions and 3 deletions
+2
View File
@@ -75,6 +75,8 @@ struct websocket_t;
struct etcd_state_client_t
{
protected:
std::vector<std::string> local_ips;
std::vector<std::string> etcd_local;
std::vector<inode_watch_t*> watches;
websocket_t *etcd_watch_ws = NULL;
uint64_t bs_block_size = DEFAULT_BLOCK_SIZE;