From 416924f6a8db7a0af6382e477381dbbed759f037 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 2 Jan 2024 00:51:06 +0300 Subject: [PATCH] Try new PG combinator in tests --- mon/mon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mon/mon.js b/mon/mon.js index ad5b3057..5b83452e 100644 --- a/mon/mon.js +++ b/mon/mon.js @@ -1334,7 +1334,7 @@ class Mon const old_pg_count = prev_pgs.length; const optimize_cfg = { osd_weights: Object.values(pool_tree).filter(item => item.level === 'osd').reduce((a, c) => { a[c.id] = c.size; return a; }, {}), - combinator: this.config.force_new_pg_combinator || !pool_cfg.level_rules && !pool_cfg.pg_rules + combinator: 1 || this.config.force_new_pg_combinator || !pool_cfg.level_rules && !pool_cfg.pg_rules // new algorithm: ? new RuleCombinator(osd_tree, this.get_pg_rules(pool_id, pool_cfg), pool_cfg.max_osd_combinations) // old algorithm: