Project

General

Profile

Actions

Bug #36399

closed

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

Added by Zhi Zhang over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph-mgr
Target version:
% Done:

0%

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

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 2 (0 open2 closed)

Copied to mgr - Backport #36575: luminous: mgr/status: fix fs status subcommand did not show standby-replay MDS' perf infoResolvedNathan CutlerActions
Copied to mgr - Backport #36576: mimic: mgr/status: fix fs status subcommand did not show standby-replay MDS' perf infoResolvedNathan CutlerActions
Actions #2

Updated by Patrick Donnelly over 5 years ago

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

Updated by Patrick Donnelly over 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF