]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: don't update importing caps' mseq when handing cap export
authorYan, Zheng <zyan@redhat.com>
Thu, 29 Nov 2018 03:26:36 +0000 (11:26 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 29 Nov 2018 07:43:51 +0000 (15:43 +0800)
commitd308b54db57591eff6a5e17dfc6c385156a79f53
tree7a0ad30eb1547482c15f45ecbb973fae6795dd0a
parent5a39f1d5c609fe86a9c12aaeaf925139fb56b5b1
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
src/client/Client.cc