Project

General

Profile

Bug #36399

mgr/status: fix fs status subcommand did not show standby-replay MDS' perf info

Added by Zhi Zhang about 2 months ago. Updated about 2 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
ceph-mgr
Target version:
Start date:
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

For standby-replay MDS, mgr fs status didn't show its activity, dns and inos perf info.

[ceph@xxx ~]$ ceph tell mgr fs status
cephfs - 2 clients
======
+------+----------------+--------+---------------+-------+-------+
| Rank |     State      |  MDS   |    Activity   |  dns  |  inos |
+------+----------------+--------+---------------+-------+-------+
|  0   |     active     |  xxxx  | Reqs:  190 /s | 32.9k | 28.5k |
| 0-s  | standby-replay | xxxx_1 | Evts:    0 /s |    0  |    0  |
+------+----------------+--------+---------------+-------+-------+
+-----------------+----------+-------+-------+
|       Pool      |   type   |  used | avail |
+-----------------+----------+-------+-------+
| cephfs_metadata | metadata |  408M | 8293G |
|   cephfs_data   |   data   | 11.2M | 8293G |
+-----------------+----------+-------+-------+
...

The reasons are below:
1. Mgr used mds_log.replay, but it should be mds_log.replayed.
2. MDS l_mdl_replayed perf counter didn't use PRIO_INTERESTING, so mgr couldn't get this counter.
3. Standby-replay MDS didn't update any dns/ino related perf counter in any place.


Related issues

Copied to mgr - Backport #36575: luminous: mgr/status: fix fs status subcommand did not show standby-replay MDS' perf info Resolved
Copied to mgr - Backport #36576: mimic: mgr/status: fix fs status subcommand did not show standby-replay MDS' perf info In Progress

History

#2 Updated by Patrick Donnelly about 2 months ago

  • Status changed from New to Need Review
  • Assignee set to Zhi Zhang
  • Target version set to v14.0.0
  • Start date deleted (10/11/2018)
  • Backport set to mimic,luminous

#3 Updated by Patrick Donnelly about 2 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler about 2 months ago

  • Copied to Backport #36575: luminous: mgr/status: fix fs status subcommand did not show standby-replay MDS' perf info added

#5 Updated by Nathan Cutler about 2 months ago

  • Copied to Backport #36576: mimic: mgr/status: fix fs status subcommand did not show standby-replay MDS' perf info added

Also available in: Atom PDF