Project

General

Profile

Actions

Bug #40784

closed

mds: metadata changes may be lost when MDS is restarted

Added by shen hang almost 5 years ago. Updated about 4 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
nautilus,mimic
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

Assumed a client copied some obj to another location in ceph. when early_replied was received , the cp command would return normally。But the op may not be journaled when the mds was restarted. If the client didn't send reconnect msg duiring reconnect phase in time,t he obj may not exists in the destination location.
It looks like below:

:/zzz/src1
  1. cp src969 src123
    :/zzz/src1
  2. ls
    ^C^C^C^C^C^C^C^C
    :/zzz/src1
  3. ls
    src969

Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #43344: mimic: mds: metadata changes may be lost when MDS is restartedRejectedActions
Copied to CephFS - Backport #43345: nautilus: mds: metadata changes may be lost when MDS is restartedResolvedNathan CutlerActions
Actions

Also available in: Atom PDF