]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: fix copy-get iteration of omap keys 989/head
authorSage Weil <sage@inktank.com>
Mon, 23 Dec 2013 20:52:34 +0000 (12:52 -0800)
committerSage Weil <sage@inktank.com>
Mon, 23 Dec 2013 20:54:00 +0000 (12:54 -0800)
commit8fc66a4ab29d4abfd0fd838a24cfb6279b0d557f
tree5de120bf0a95ce4b86522886d983d685eeb8d44e
parent0c9acf147d87753282c862cb4bd9518bb24c94dc
osd/ReplicatedPG: fix copy-get iteration of omap keys

We need to call upper_bound() before checking if the iterator is valid!

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