]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix pg epoch floor tracking
authorSage Weil <sage@redhat.com>
Fri, 8 Aug 2014 00:42:06 +0000 (17:42 -0700)
committerSage Weil <sage@redhat.com>
Thu, 14 Aug 2014 00:21:18 +0000 (17:21 -0700)
commit662af7ac83b67af8c9edc554bbd505de717f9709
tree8f37e1c47ab44abf8d88516e66a691d825a6ed19
parent229a346d824d84c361d7963a356af5251adc9e2e
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>
(cherry picked from commit a52a855f6c92b03dd84cd0cc1759084f070a98c2)
src/osd/OSD.h