]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: don't update importing caps' mseq when handing cap export 25680/head
authorYan, Zheng <zyan@redhat.com>
Thu, 29 Nov 2018 03:26:36 +0000 (11:26 +0800)
committerJos Collin <jcollin@redhat.com>
Sat, 22 Dec 2018 04:10:05 +0000 (09:40 +0530)
commit1601f32ca9a327cef1b551ffda2335cfe832e152
tree8a56e87072e62db75191dd8589138bdd07ed0d1b
parent31a8c973a8251f04996d47e2dae43fde2886315f
client: don't update importing caps' mseq when handing cap export

Updating mseq makes client think importer mds has accepted all prior
cap messages and importer mds knows what caps client wants. Actually
some cap messages may have been dropped because of mseq mismatch.

If mseq is left untouched, importing caps' mds_wanted later will get
reset by cap import message.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/37464
(cherry picked from commit d308b54db57591eff6a5e17dfc6c385156a79f53)
src/client/Client.cc