]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMonitor: do not clobber pg_stat update with map_pg_creates 8208/head
authorSage Weil <sage@redhat.com>
Mon, 21 Mar 2016 12:40:15 +0000 (08:40 -0400)
committerSage Weil <sage@redhat.com>
Mon, 21 Mar 2016 12:43:03 +0000 (08:43 -0400)
commita6adb882a9cb6ce90c7a29462ccc0684e205067d
tree4e3a43a417ade0f490b690a6b7a578535f8625c7
parent67d9e01946008cbd58e780447e1e4c187f3cf18a
mon/PGMonitor: do not clobber pg_stat update with map_pg_creates

If we have a pending pg update from the OSD with a newer epoch
than the one we're processing in map_pg_creates, we shouldn't
update, as we'll warp the PG back in time (clobbering the PG
state).

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