Start peering immediately when loading PGs

trace-sqes
Vitaliy Filippov 2020-04-21 02:27:13 +03:00
parent 8c03e3ebab
commit 9d22559bcf
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,6 @@ void osd_t::parse_pgs(const json11::Json & pg_config, const std::map<pg_num_t, j
.target_history = target_history, .target_history = target_history,
.target_set = target_set, .target_set = target_set,
}; };
this->pgs[pg_num].print_state();
// Add peers // Add peers
for (auto pg_osd: all_peers) for (auto pg_osd: all_peers)
{ {
@ -380,6 +379,7 @@ void osd_t::parse_pgs(const json11::Json & pg_config, const std::map<pg_num_t, j
wanted_peers[pg_osd] = { 0 }; wanted_peers[pg_osd] = { 0 };
} }
} }
start_pg_peering(pg_num);
} }
pg_count++; pg_count++;
} }