forked from vitalif/vitastor
Fix pool deletion
parent
8d1067971b
commit
fd83fef1d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue