]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: return -EAGAIN if standby replay falls behind
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 2 Oct 2013 03:43:12 +0000 (11:43 +0800)
committerGreg Farnum <greg@inktank.com>
Mon, 14 Oct 2013 16:40:31 +0000 (09:40 -0700)
commitcd1c3c9e00e90b19e83c1f11a48e516a7de93665
tree75271a5226c81573b2e0f03bc0aa6c4bd5af0671
parentbd073eeac28d8cba969e5746c5e6adcb95820fdf
mds: return -EAGAIN if standby replay falls behind

standby replay may fall behind and get -ENOENT when reading the
journal. return -EAGAIN in this case, it makes the MDS respawn itself.

fixes: #5458

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
(cherry picked from commit d2cb2bf6bac83ac6db9df6cb876317d30e7493cc)
Reviewed-by: Greg Farnum <greg@inktank.com>
src/mds/MDLog.cc