Bug 2227992 - mds: cap revoke and cap update's seqs mismatched
Summary: mds: cap revoke and cap update's seqs mismatched
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 7.0
Assignee: Xiubo Li
QA Contact: Hemanth Kumar
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks: 2237662
TreeView+ depends on / blocked
 
Reported: 2023-08-01 05:51 UTC by Xiubo Li
Modified: 2024-01-31 09:36 UTC (History)
6 users (show)

Fixed In Version: ceph-18.2.0-31.el9cp
Doc Type: Bug Fix
Doc Text:
.Revocation requests no longer get stuck Previously, before the revoke request was sent out, which would increase the 'seq', if the clients released the corresponding caps and sent out the cap update request with the old `seq`, the MDS would miss checking the `seq`(s) and cap calculation. Due to this, the revocation requests would be stuck infinitely and would throw warnings about the revocation requests not responding from clients. With this fix, an acknowledgement is always sent for revocation requests and they no longer get stuck.
Clone Of:
Environment:
Last Closed: 2023-12-13 15:21:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 61782 0 None None None 2023-08-01 08:28:32 UTC
Red Hat Issue Tracker RHCEPH-7122 0 None None None 2023-08-01 05:53:46 UTC
Red Hat Product Errata RHBA-2023:7780 0 None None None 2023-12-13 15:21:16 UTC

Description Xiubo Li 2023-08-01 05:51:25 UTC
This bug was initially created as a copy of Bug #2224242

I am copying this bug because: 



If just before the revoke request, which will increase the 'seq', is
sent out the clients released the corresponding caps and sent out
the cap update request with old 'seq', the mds will miss checking
the seqs and calculating the caps.

We should always send an ack for revoke requests.

Fixes: https://tracker.ceph.com/issues/61782

Comment 1 RHEL Program Management 2023-08-01 05:51:34 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 8 errata-xmlrpc 2023-12-13 15:21:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 7.0 Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:7780


Note You need to log in before you can comment on or make changes to this bug.