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 about 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 #1

Updated by Venky Shankar over 5 years ago

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

Updated by Patrick Donnelly over 5 years ago

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

Updated by Patrick Donnelly about 5 years ago

  • Target version changed from v14.0.0 to v15.0.0
Actions #4

Updated by Patrick Donnelly almost 5 years ago

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

Updated by Patrick Donnelly about 4 years ago

  • Target version deleted (v15.0.0)
Actions

Also available in: Atom PDF