]> 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)
committerSage Weil <sage@inktank.com>
Wed, 2 Oct 2013 04:10:56 +0000 (21:10 -0700)
commitd2cb2bf6bac83ac6db9df6cb876317d30e7493cc
tree8380ab0c48bd74751454d148fc36f0afec8ba631
parentfbeabccaf060fa79a65ffa61a0a1ac40100e1451
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>
src/mds/MDLog.cc