]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: set epoch barrier on transition to active
authorJohn Spray <john.spray@redhat.com>
Mon, 27 Oct 2014 13:27:30 +0000 (13:27 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 16 Dec 2014 20:51:49 +0000 (20:51 +0000)
commitfcc64f3849c9da72f164704c3ddc76dbbff409ef
tree033a794e9fc1944f7424029d2c9c4a39c514cbdc
parent40503ffbd7a669880bb62aa801f54c1bd6b39acb
mds: set epoch barrier on transition to active

To handle case where MDSs restart after experiencing
a barrier-inducing operation: rather than persisting
OSD barrier somewhere, just have the MDSs always barrier
on latest OSD epoch at startup.

Effect is that after restart, MDS cap issues will
be delayed in (compliant) clients until the client
sees the latest OSD map.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDS.cc