Duplicate host in osd/state and osd/stats, take PGs from /config/pgs.items

This commit is contained in:
Vitaliy Filippov
2020-05-15 01:29:15 +03:00
parent 5084ff7c6c
commit c2c2eefea4
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -235,6 +235,7 @@ class osd_t
int etcd_watches_initialised = 0;
uint64_t etcd_watch_revision = 0;
websocket_t *etcd_watch_ws = NULL;
json11::Json self_state;
std::map<osd_num_t, json11::Json> peer_states;
std::map<osd_num_t, osd_wanted_peer_t> wanted_peers;
bool loading_peer_config = false;