Project

General

Profile

Feature #35411

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

Added by Venky Shankar about 1 year ago. Updated 6 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
Start date:
Due date:
% 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

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

History

#1 Updated by Venky Shankar about 1 year ago

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

#2 Updated by Patrick Donnelly about 1 year ago

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

#3 Updated by Patrick Donnelly 8 months ago

  • Target version changed from v14.0.0 to v15.0.0

#4 Updated by Patrick Donnelly 6 months ago

  • Tracker changed from Bug to Feature
  • Start date deleted (09/03/2018)
  • Backport deleted (luminous,mimic)

Also available in: Atom PDF