]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/pg_map: allow multiple shards to create new pg mappings at the same time 56332/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 20 Mar 2024 07:25:33 +0000 (15:25 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 25 Mar 2024 06:41:31 +0000 (14:41 +0800)
commit2422817b7578da44090ea5e2f540c505bbce1412
tree25ec094d57d343eabf334b75a933c7123fa775eb
parentde2e66723586d2e9c5fd838e5199547b0d2d5f4f
crimson/os/pg_map: allow multiple shards to create new pg mappings at the same time

Also:
* Better detections in case of inconsistent racings, such as:
  * The new mapping is creating towards different cores.
  * Mapping creation is racing with its eracing.
  * Multiple shards are erasing the same mapping at the same time.
* Add more logs to debug in case of unexpected issues.

Fixes: https://tracker.ceph.com/issues/64934
Fixes: https://tracker.ceph.com/issues/64009
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/osd/pg_map.cc