]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD: introduce trim_stale_maps
authorMatan Breizman <mbreizma@redhat.com>
Wed, 30 Aug 2023 08:57:18 +0000 (08:57 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 18 Dec 2023 12:51:01 +0000 (12:51 +0000)
commit171da5b5cb75022a27af6e77a74c752f9247ed9c
tree67a415a5f2b1b54e488b80c36a7b1b494b838f06
parent67b75549b33f045a83f5bf55b677d8842cb7bac4
osd/OSD: introduce trim_stale_maps

```
  /**
   * trim_stale_maps
   *
   * trim_maps had a possible (rare) leak which resulted in stale osdmaps.
   * This method will cleanup any existing osdmaps from the store
   * with an epoch earlier than the superblock's oldest_map epoch.
   * See: https://tracker.ceph.com/issues/61962
   */
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h