]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: Optimized EC pools preprocess_pgtemp incorrectly rejecting pgtemp as nop
authorBill Scales <bill_scales@uk.ibm.com>
Mon, 7 Jul 2025 20:13:59 +0000 (21:13 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Sun, 7 Sep 2025 23:10:41 +0000 (00:10 +0100)
commit90fedb6cbc9d163ae96e4e7fe0a9030cd7e9cb84
tree500878994ba8725eca845ccc6baf3f2ccbda7e28
parentf6d5d102213063c7a10432334f54b616f66fd5c3
mon: Optimized EC pools preprocess_pgtemp incorrectly rejecting pgtemp as nop

Optimized EC pools store pgtemp with primary shards first, this was not
being taken into account by OSDMonitor::preprocess_pgtemp which meant
that the change of pgtemp from [None,2,4] to [None,4,2] for a 2+1 pool
was being rejected as a nop because the primary first encoded version
of [None,2,4] is [None,4,2].

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
(cherry picked from commit 00aa1933d3457c377d9483072e663442a4ff8ffd)
src/mon/OSDMonitor.cc