mds: fix revoking caps after after stale->resume circle
After session stale->resume circle, client thinks its caps get lost. But
MDS may keep some client caps untouched. To revoke untouched caps, MDS
needs to re-issue them to client, then do revocation. If MDS skips the
're-issue' step, client will not response to the cap revoke.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/42826
(cherry picked from commit
b6898d65a8e5f044a7bd46005d7a8e8a3d258742)
Conflicts:
src/mds/Locker.cc
- nautilus uses MClientCaps::create where master has "make_message<MClientCaps>"