]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: don't update importing caps' mseq when handing cap export 25762/head
authorYan, Zheng <zyan@redhat.com>
Thu, 29 Nov 2018 03:26:36 +0000 (11:26 +0800)
committerPrashant D <pdhange@redhat.com>
Thu, 3 Jan 2019 01:08:02 +0000 (20:08 -0500)
commit70abf75313a29a199652353d923d1f8f263d2a74
tree77cc7cff6e713ce1b769ea60b5b8f606fa3f30e9
parente35d01ff34a9fb28222fe25a0fb3e97f5b483853
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)

Conflicts:
src/client/Client.cc : Resolved in handle_cap_export
src/client/Client.cc