]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: reject Seastore PG merges across shards 66885/head
authorAishwarya Mathuria <amathuri@redhat.com>
Mon, 18 May 2026 13:37:26 +0000 (13:37 +0000)
committerAishwarya Mathuria <amathuri@redhat.com>
Thu, 11 Jun 2026 04:55:49 +0000 (10:25 +0530)
commitf94860bd17ec6dfba8e1a69b68c3a99c03ba5101
tree39152342e2bafd466499785f164fe2c6f56288a0
parent4e44d8a1607087502c97e87e6b65e892fc161f15
crimson/osd: reject Seastore PG merges across shards

Seastore cannot merge collections between reactor shards currently.
On cross-shard detection, tell the monitor the source PG is not ready
(via MOSDPGReadyToMerge{ ready=false }) so the unsafe pg_num decrement
is never proposed, then send MOSDPGStopMerge to clamp pg_num_target and
permanently disable further shrink for the pool.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
12 files changed:
src/crimson/osd/osd_operations/pg_advance_map.cc
src/crimson/osd/pg.cc
src/crimson/osd/pg.h
src/crimson/osd/shard_services.cc
src/crimson/osd/shard_services.h
src/messages/MOSDPGStopMerge.h [new file with mode: 0644]
src/mon/Monitor.cc
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/msg/Message.cc
src/msg/Message.h
src/msg/MessageRef.h