Project

General

Profile

Bug #35411

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

Added by Venky Shankar 4 months ago. Updated 3 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
Start date:
09/03/2018
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
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

Related to fs - Feature #25013: mds: add average session age (uptime) perf counter Resolved 07/20/2018

History

#1 Updated by Venky Shankar 4 months ago

  • Related to Feature #25013: mds: add average session age (uptime) perf counter added

#2 Updated by Patrick Donnelly 3 months ago

  • Status changed from New to In Progress
  • Assignee set to Venky Shankar

Also available in: Atom PDF