From fd83fef1d9fc097f23c0e74bddd65a3fb9dce70b Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 16 Apr 2024 02:20:26 +0300 Subject: [PATCH] Fix pool deletion --- mon/mon.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mon/mon.js b/mon/mon.js index c2698307..c72cd54f 100644 --- a/mon/mon.js +++ b/mon/mon.js @@ -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