Project

General

Profile

Actions

Bug #17294

open

mds client didn't update directory content after short network break

Added by ren li over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client, ceph-fuse
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Client: ceph-fuse 0.8.5, 10.2.2
Server: ceph 10.2.1, single active mds

Sympton:
1. mount same cephfs on 2 nodes ( A, B )
2. list content of dir1 on A
3. break network connection between A and mds longer than 60s (with default mds_session_timeout), for example using iptables to drop packages
4. add new file in dir1 on B
5. list content of dir1 on A, cannot see the new file

Update content dir1 on A will recover.

Cause:
Capabilities between client and mds are inconsistent after client becoming stale and mds stops revoking cap of client.

Actions

Also available in: Atom PDF