Bug 2224242 - 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
medium
Target Milestone: ---
: 5.3z5
Assignee: Xiubo Li
QA Contact: Hemanth Kumar
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-20 09:04 UTC by Xiubo Li
Modified: 2023-08-28 09:41 UTC (History)
6 users (show)

Fixed In Version: ceph-16.2.10-203.el8cp
Doc Type: Bug Fix
Doc Text:
.Metadata updates are no longer missed or lost Previously, before the revoke request, which increases the `seq`, was sent out, the clients released the corresponding caps and sent out the cap update request with old `seq`. The MDS would miss checking the `seq` and calculating the caps. Due to this, certain metadatas’ updation would be missed. With this fix, an acknowledgement is always sent for revoke requests and the metadata is always successfully and correctly updated.
Clone Of:
: 2224243 (view as bug list)
Environment:
Last Closed: 2023-08-28 09:40:56 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-07-20 09:07:34 UTC
Red Hat Issue Tracker RHCEPH-7049 0 None None None 2023-07-20 09:05:41 UTC
Red Hat Product Errata RHBA-2023:4760 0 None None None 2023-08-28 09:41:40 UTC

Description Xiubo Li 2023-07-20 09:04:19 UTC
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-07-20 09:04:27 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 13 errata-xmlrpc 2023-08-28 09:40:56 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 5.3 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:4760


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