Project

General

Profile

Actions

Bug #51857

closed

client: make sure only to update dir dist from auth mds

Added by yantao xue over 2 years ago. Updated 12 months ago.

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

100%

Source:
Community (dev)
Tags:
backport_processed
Backport:
pacific,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In mds/Server::set_trace_dist, if (dir->is_auth() && !forward_all_requests_to_auth) dir->get_dist_spec(ds.dist, whoami);
On client side, in Client::update_dir_dist, it updates the replica info from the ds.dist, regardless of whether the reply comes from the replica or the auth mds. Because the replica mds dose not spec the ds.dist, so client will clear the replica info what have been set by the auth mds when received reply from the replica mds.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #51976: octopus: client: make sure only to update dir dist from auth mdsRejectedActions
Copied to CephFS - Backport #51977: pacific: client: make sure only to update dir dist from auth mdsResolvedPatrick DonnellyActions
Actions #1

Updated by Kefu Chai over 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 42499
Actions #2

Updated by Patrick Donnelly over 2 years ago

  • Project changed from Ceph to CephFS
  • Subject changed from client:make sure only to update dir dist from auth mds to client: make sure only to update dir dist from auth mds
  • Assignee set to yantao xue
  • Target version set to v17.0.0
  • Source set to Community (dev)
  • Component(FS) Client added
Actions #3

Updated by Patrick Donnelly over 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to pacific,octopus
Actions #4

Updated by Backport Bot over 2 years ago

  • Copied to Backport #51976: octopus: client: make sure only to update dir dist from auth mds added
Actions #5

Updated by Backport Bot over 2 years ago

  • Copied to Backport #51977: pacific: client: make sure only to update dir dist from auth mds added
Actions #6

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #7

Updated by Konstantin Shalygin 12 months ago

  • Tracker changed from Fix to Bug
  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100
  • Regression set to No
  • Severity set to 3 - minor
Actions

Also available in: Atom PDF