]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix pg epoch floor tracking 2228/head
authorSage Weil <sage@redhat.com>
Fri, 8 Aug 2014 00:42:06 +0000 (17:42 -0700)
committerSage Weil <sage@redhat.com>
Fri, 8 Aug 2014 00:42:06 +0000 (17:42 -0700)
commita52a855f6c92b03dd84cd0cc1759084f070a98c2
treefa6b091124aea61bd9a0938bd76065ee7dac42a0
parentdceab8dc49d4f458e3bc9fd40eb8b487f1e35948
osd: fix pg epoch floor tracking

If you call erase() on a multiset it will delete all instances of a value;
we only want to delete one of them.  Fix this by passing an iterator.

Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.h