Fix pool deletion
This commit is contained in:
@@ -1562,10 +1562,6 @@ class Mon
|
|||||||
|
|
||||||
async apply_pool_pgs(results, up_osds, osd_tree, tree_hash)
|
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||{})
|
for (const pool_id in (this.state.config.pgs||{}).items||{})
|
||||||
{
|
{
|
||||||
// We should stop all PGs when deleting a pool or changing its PG count
|
// We should stop all PGs when deleting a pool or changing its PG count
|
||||||
|
|||||||
Reference in New Issue
Block a user