]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/pg_map: allow multiple shards to create new pg mappings at the same time
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 20 Mar 2024 07:25:33 +0000 (15:25 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 8 May 2024 07:10:04 +0000 (10:10 +0300)
commitf853abf3b0fec105cce3c88d6460e5bbd59ef3a2
tree9174bff58b85ee27f301fcbe926fd1c12af849b3
parentfe4875093d9d33ce5b2f5a952948d242a27d70df
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>
(cherry picked from commit 2422817b7578da44090ea5e2f540c505bbce1412)
src/crimson/osd/pg_map.cc