]> 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)
committerJon <jonathan.bailey1@ibm.com>
Fri, 3 Oct 2025 13:31:23 +0000 (14:31 +0100)
commit3e209b0576a6e78a83294c8a28bafa64b34780ed
tree730bcecfe0392ed68e62522f9d80f4d2139b6957
parent67fd3e143a3377eba1de21a992af260c908ed866
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