Project

General

Profile

Actions

Bug #62257

open

Bug #61947: mds: enforce a limit on the size of a session in the sessionmap

mds: blocklist clients that are not advancing `oldest_client_tid`

Added by Venky Shankar 10 months ago. Updated 11 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:

0%

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

Description

The size of the session map becomes huge, thereby exceeding the max write size for a RADOS operation, thereby resulting in the MDS to go read-only since the RADOS op failed.

For writing tests, it might be helpful to introduce a test config that emulates the bug. FWIW, config `client_inject_fixed_oldest_tid` already exists that mangles oldest_client_tid, so, maybe that can be reused for this.

Actions

Also available in: Atom PDF