]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: verify that client ops are targeted correctly in the current epoch 1839/head
authorGreg Farnum <greg@inktank.com>
Mon, 12 May 2014 23:37:16 +0000 (16:37 -0700)
committerGreg Farnum <greg@inktank.com>
Tue, 13 May 2014 00:22:12 +0000 (17:22 -0700)
commit9f0825ca13320187ee9d763160ea2f49738f83f2
tree0c5cdedb2be68dce25e956eee3a05865ccb840e4
parent523619b0e54239ac9a30ff172cb9c65f21b356c1
OSD: verify that client ops are targeted correctly in the current epoch

We were previously only looking at the epoch the op was sent in, which meant
that if we had dropped responsibility somewhere between send_epoch and our
current epoch, we would queue up the op until a new osdmap came along. If it
never did, we could block all client IO against us...

Fixes: #8338
Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/OSD.cc