Project

General

Profile

Actions

Fix #58023

open

mds: do not evict clients if OSDs are laggy

Added by Patrick Donnelly over 1 year ago. Updated 10 months ago.

Status:
Pending Backport
Priority:
High
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Development
Tags:
backport_processed
Backport:
reef,quincy,pacific
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Monitoring perf dumps from the MDS can sometimes show that OSDs are laggy, "objecter.op_laggy" and "objecter.osd_laggy". This can indicate the cause for laggy clients (cannot flush dirty data for cap revokes).

In Server::find_idle_sessions, if the MDS detects laggy OSDs, defer evicting/removing "laggy" client sessions until OSDs are no longer laggy. Log a warning to the cluster indicating the situation.


Related issues 5 (3 open2 closed)

Related to CephFS - Bug #64563: mds: enhance laggy clients detections due to laggy OSDsTriagedDhairya Parmar

Actions
Related to CephFS - Bug #64685: mds: disable defer_client_eviction_on_laggy_osds by defaultResolvedVenky Shankar

Actions
Copied to CephFS - Backport #61840: quincy: mds: do not evict clients if OSDs are laggyIn ProgressDhairya ParmarActions
Copied to CephFS - Backport #61841: pacific: mds: do not evict clients if OSDs are laggyResolvedDhairya ParmarActions
Copied to CephFS - Backport #61842: reef: mds: do not evict clients if OSDs are laggyIn ProgressDhairya ParmarActions
Actions #1

Updated by Venky Shankar over 1 year ago

  • Category set to Correctness/Safety
  • Assignee set to Dhairya Parmar
Actions #2

Updated by Dhairya Parmar about 1 year ago

  • Status changed from New to In Progress
  • Pull request ID set to 49971
Actions #3

Updated by Dhairya Parmar 11 months ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Venky Shankar 10 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Target version changed from v18.0.0 to v19.0.0
  • Backport changed from quincy,pacific to reef,quincy,pacific
Actions #5

Updated by Backport Bot 10 months ago

  • Copied to Backport #61840: quincy: mds: do not evict clients if OSDs are laggy added
Actions #6

Updated by Backport Bot 10 months ago

  • Copied to Backport #61841: pacific: mds: do not evict clients if OSDs are laggy added
Actions #7

Updated by Backport Bot 10 months ago

  • Copied to Backport #61842: reef: mds: do not evict clients if OSDs are laggy added
Actions #8

Updated by Backport Bot 10 months ago

  • Tags set to backport_processed
Actions #9

Updated by Venky Shankar about 1 month ago

  • Related to Bug #64563: mds: enhance laggy clients detections due to laggy OSDs added
Actions #10

Updated by Venky Shankar about 1 month ago

  • Related to Bug #64685: mds: disable defer_client_eviction_on_laggy_osds by default added
Actions

Also available in: Atom PDF