Project

General

Profile

Actions

Bug #16919

closed

MDS: Standby replay daemons don't drop purged strays

Added by John Spray almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Code Hygiene
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
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

This is not fatal, because the inodes will ultimately end up at the top of the LRU list and get trimmed, but it's a weird behaviour and it leads to standby-replay daemons (and by extension active daemons when a failure happens) having inflated caches.

Reproduce by just running one active and one standby-replay, and then create and delete a load of files, unmount a client and flush the journal: you'll see the active daemon's inode count fall back down, but the inode count on the standby-replay will remain high, and if you dump its cache you can see all the strays.

Actions

Also available in: Atom PDF