Project

General

Profile

Actions

Bug #21745

closed

mds: MDBalancer using total (all time) request count in load statistics

Added by John Spray over 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
balancer
Backport:
luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
multimds
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This was pointed out by Xiaoxi Chen

The get_req_rate() function is returning the value of l_mds_request, which is a counter.

This is then used in the load calculation in MDBalancer, resulting in crazy high values like this:

2017-10-09 10:05:09.128325 7fc899748700  0 mds.0.bal   mds.1 mdsload<[0,0 0]/[0,0 0], req 3.11991e+07, hr 0, qlen 0, cpu 0.12> = 3.11991e+07 ~ 15711.7


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #23671: luminous: mds: MDBalancer using total (all time) request count in load statisticsResolvedZheng YanActions
Actions

Also available in: Atom PDF