Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2224234

Summary: client: do not send metrics until the MDS rank is ready
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Xiubo Li <xiubli>
Component: CephFSAssignee: Xiubo Li <xiubli>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 5.3CC: akraj, ceph-eng-bugs, cephqe-warriors, hyelloji, rmandyam, tserlin, vshankar
Target Milestone: ---   
Target Release: 5.3z5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.10-198.el8cp Doc Type: Bug Fix
Doc Text:
.MDSs no longer drop the client requests and slow down Previously, once the clients were successfully reconnected they would try to send the metrics to MDSs for handling even before the MDSs were not ready. Due to this, whenever there were a lot of clients and a lot of known requests had to be replayed, the metrics requests would be dropped by the MDS as the MDS would still be in the `clientreplay` state. In addition to this, the useless metric requests would slow down MDS. With this fix, the clients need to wait for the MDSs to be ready in the `up:active` state. This allows the clients to send the metrics and avoid slowing down the MDS performance in some cases.
Story Points: ---
Clone Of: 2224233 Environment:
Last Closed: 2023-08-28 09:40:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xiubo Li 2023-07-20 08:41:28 UTC
+++ This bug was initially created as a clone of Bug #2224233 +++

In some cases when there are a lot of clients and these clients have a lots of known requests need to replay too, the metrics requests will be dropped by the MDS because the MDS is still in the clientreplay state, and also the useless metric requests will slow down MDS.

--- Additional comment from RHEL Program Management on 2023-07-20 08:39:57 UTC ---

Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

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

Comment 15 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