]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: wait for mydir replicas to go away in stopping 3753/head
authorJohn Spray <john.spray@redhat.com>
Mon, 16 Feb 2015 17:06:45 +0000 (17:06 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 17 Feb 2015 14:26:07 +0000 (14:26 +0000)
commit52772ef4edc42163603e1182ca744baf36e19339
treeb23b307746b9ba7b4e7c5d7ea46c5dd581502765
parent4ba3d575b80ab88421d684e9d5b382b9ac0ae678
mds: wait for mydir replicas to go away in stopping

Previously, while we were waiting for locks related
to mydir to be acknowledged by other ranks, we could
advance to the point of capping the log.  When the
locks were acked, we would try to write to the log
and assert out.  Avoid this by waiting for mydir
to not be replicated before capping the log.

Fixes: #10743
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDCache.cc