Project

General

Profile

Actions

Feature #35411

open

mds: store session birth time on-disk in session map

Added by Venky Shankar over 5 years ago. Updated over 4 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
Pull request ID:

Description

PR https://github.com/ceph/ceph/pull/23314 adds session birth time to track average session age. During MDS failover (client switching to a new MDS), the birth time gets reset (as its tracked in-memory) thereby skewing the average session age perf counter and is somewhat incorrect when the session uptime is observer via "session ls" command.

For the fix, persist the session birth time in on-disk session map. On failover, use the stored session birth time rather than starting afresh.


Related issues 1 (0 open1 closed)

Related to CephFS - Feature #25013: mds: add average session age (uptime) perf counterResolvedVenky Shankar07/20/2018

Actions
Actions

Also available in: Atom PDF