Fix pool deletion

This commit is contained in:
Vitaliy Filippov
2024-04-16 02:20:26 +03:00
parent 8d1067971b
commit fd83fef1d9
-4
View File
@@ -1562,10 +1562,6 @@ class Mon
async apply_pool_pgs(results, up_osds, osd_tree, tree_hash)
{
if (!results.length)
{
return true;
}
for (const pool_id in (this.state.config.pgs||{}).items||{})
{
// We should stop all PGs when deleting a pool or changing its PG count