Delete pg.peering_state when it is not needed

This commit is contained in:
Vitaliy Filippov
2026-06-13 19:56:06 +03:00
parent 1834743a0e
commit 11a972cbfb
2 changed files with 13 additions and 4 deletions
+2
View File
@@ -473,6 +473,8 @@ void pg_t::calc_object_states(int log_level)
printf("[PG %u/%u] %ju objects on OSD set %s\n", pool_id, pg_num, stp.second.object_count, osd_set_desc.c_str());
}
}
delete ps;
peering_state = NULL;
}
void pg_t::print_state()