]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: prime_pg_temp needs to call pgtemp_primaryfirst when encoding pg_temp
authorBill Scales <bill_scales@uk.ibm.com>
Wed, 21 May 2025 12:23:33 +0000 (13:23 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 25 Jun 2025 22:36:40 +0000 (23:36 +0100)
commit95da0cdf96da96ba14cfbc5ee9489aabf9e10fbf
tree4eb55dcfb3977d46bfac68b556b0568bd5ba7769
parentf66cd3e860093380a7f97023bfd1f06312779383
mon: prime_pg_temp needs to call pgtemp_primaryfirst when encoding pg_temp

Optimized EC pools encode pgtemp in a different order putting the shards
which cannot become the primary (nonprimary shards) last.

prime_pg_temp is missing a call to pgtemp_primaryfirst to reorder the
acting set it is trying to set as pg_temp.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
src/mon/OSDMonitor.cc