]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: drop the OSDMap caching from PG
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 29 Aug 2022 10:52:05 +0000 (10:52 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 22 May 2023 15:50:43 +0000 (15:50 +0000)
commit8ce7b4ae897882f79a1015af87a54b9ab644b50e
treeb440fa4f83190691536a7ff74f365aa1063171f9
parent88b71c530a11b26b87c579cb99e178626845b388
crimson/osd: drop the OSDMap caching from PG

`PG` directly aggregates both `OSDMap` and `PeeringState` which
maintains its own `OSDMap` instance. This duplication leads to
issues as the `PG::osdmap` never gets updated.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit d8655c08ab51e2c5b1437c7a46498d5450a1bac0)
src/crimson/osd/pg.cc
src/crimson/osd/pg.h