]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: clear past intervals on a osdmap gap
authorSage Weil <sage@redhat.com>
Mon, 17 Apr 2017 14:22:04 +0000 (10:22 -0400)
committerSage Weil <sage@redhat.com>
Fri, 28 Apr 2017 15:32:17 +0000 (11:32 -0400)
commitf9f8f6fda0f76eb554d98c226422f04717a6d6be
tree18cec8db3692eafb3bf5f5d49a75bfd8d5e64850
parenta2d2232f3935bec2facdc151851e664839f75076
osd/PG: clear past intervals on a osdmap gap

If we are crossing an osdmap gap, clear our old past
interval since the information is stale: someone else
took the pg clean after everything we know if the maps
were trimmed.

This avoids an assert later in the past intervals check.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc