]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/snap-mapper: flush pending writes on pg interval change 68796/head
authorRonen Friedman <rfriedma@redhat.com>
Thu, 7 May 2026 10:06:28 +0000 (10:06 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 10 May 2026 13:32:44 +0000 (13:32 +0000)
commitdee19fec702feea339575e391e5333613acd6572
tree5ab9f81f2998e1903f59dccf5d01cc9058d7ddc4
parent6975a8d90948d8b6e4bf29325a52a2fe1f9aa6fc
crimson/osd/snap-mapper: flush pending writes on pg interval change

When a PG interval changes, the snap-mapper's MapCacher backend is
reset to clear any stale state. This change adds a flush-and-reset
method that first flushes any pending writes in the MapCacher into the
objectstore, then resets the backend.

Fixes: https://tracker.ceph.com/issues/76458
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/map_cacher.hpp
src/crimson/osd/pg.cc
src/osd/SnapMapper.h