Project

General

Profile

Actions

Bug #61459

open

mds: session in the importing state cannot be cleared if an export subtree task is interrupted while the state of importer is acking

Added by Zhansong Gao 11 months ago. Updated 18 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
quincy reef squid
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The related sessions in the importer are in the importing state('Session::is_importing' return true) when the state of importer is 'acking', 'Migrator::handle_mds_failure_or_stop' should reverse the process to clear the importing state if the exporter restarts at this time, but it doesn't do that actually. And it will cause these sessions to not be cleared when the client is unmounted(evicted or timeout) until the mds is restarted.

Actions #1

Updated by Milind Changire 11 months ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Patrick Donnelly 11 months ago

  • Assignee set to Zhansong Gao
  • Target version set to v19.0.0
  • Source set to Community (dev)
  • Backport set to reef,quincy,pacific
  • Severity deleted (3 - minor)
Actions #3

Updated by Zhansong Gao 11 months ago

Zhansong Gao wrote:

The related sessions in the importer are in the importing state('Session::is_importing' return true) when the state of importer is 'acking', 'Migrator::handle_mds_failure_or_stop' should reverse the process to clear the importing state if the exporter restarts at this time, but it doesn't do that actually. And it will cause these sessions to not be cleared when the client is unmounted(evicted or timeout) until the mds is restarted.

This description is incorrect, updated to:

The related sessions in the importer are in the importing state('Session::is_importing' return true) when the state of importer is 'acking', 'Migrator::import_reverse' called by 'MDCache::handle_resolve' should reverse the process to clear the importing state if the exporter restarts at this time, but it doesn't do that actually because of its bug. And it will cause these sessions to not be cleared when the client is unmounted(evicted or timeout) until the mds is restarted.

Actions #4

Updated by Konstantin Shalygin 18 days ago

  • Backport changed from reef,quincy,pacific to quincy reef squid
Actions

Also available in: Atom PDF