Project

General

Profile

Actions

Bug #61459

closed
ZG ZG

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

Bug #61459: 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 over 3 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
Due date:
% Done:

100%

Source:
Community (dev)
Backport:
quincy,reef,squid
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-6056-gef3f512306
Released In:
v20.2.0~1625
Upkeep Timestamp:
2026-08-28T01:34:36+00:00

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.


Related issues 3 (0 open — 3 closed)

Copied to CephFS - Backport #68955: reef: mds: session in the importing state cannot be cleared if an export subtree task is interrupted while the state of importer is ackingResolvedMilind Changire

Actions
Copied to CephFS - Backport #68956: squid: mds: session in the importing state cannot be cleared if an export subtree task is interrupted while the state of importer is ackingResolvedKonstantin Shalygin

Actions
Copied to CephFS - Backport #68957: quincy: mds: session in the importing state cannot be cleared if an export subtree task is interrupted while the state of importer is ackingRejected

Actions

MC Updated by Milind Changire over 3 years ago Actions #1

  • Status changed from New to Fix Under Review

PD Updated by Patrick Donnelly over 3 years ago Actions #2

  • 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)

ZG Updated by Zhansong Gao over 3 years ago Actions #3

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.

KS Updated by Konstantin Shalygin over 2 years ago Actions #4

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

VS Updated by Venky Shankar about 2 years ago Actions #5

  • Related to QA Run #68744: wip-vshankar-testing-20241029.045257-debug added

VS Updated by Venky Shankar about 2 years ago Actions #6

  • Related to deleted (QA Run #68744: wip-vshankar-testing-20241029.045257-debug)

VS Updated by Venky Shankar about 2 years ago Actions #7

  • Category set to Correctness/Safety
  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from quincy reef squid to quincy,reef,squid

UB Updated by Upkeep Bot about 2 years ago Actions #8

  • Copied to Backport #68955: reef: mds: session in the importing state cannot be cleared if an export subtree task is interrupted while the state of importer is acking added

UB Updated by Upkeep Bot about 2 years ago Actions #9

  • Copied to Backport #68956: squid: mds: session in the importing state cannot be cleared if an export subtree task is interrupted while the state of importer is acking added

UB Updated by Upkeep Bot about 2 years ago Actions #10

  • Copied to Backport #68957: quincy: mds: session in the importing state cannot be cleared if an export subtree task is interrupted while the state of importer is acking added

UB Updated by Upkeep Bot about 2 years ago Actions #11

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 1 year ago Actions #12

  • Merge Commit set to ef3f512306e1fa923999adbeba6c14d11fa8130a
  • Fixed In set to v19.3.0-6056-gef3f512306e
  • Upkeep Timestamp set to 2025-07-09T16:44:09+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #13

  • Fixed In changed from v19.3.0-6056-gef3f512306e to v19.3.0-6056-gef3f512306
  • Upkeep Timestamp changed from 2025-07-09T16:44:09+00:00 to 2025-07-14T17:41:57+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #14

  • Released In set to v20.2.0~1625
  • Upkeep Timestamp changed from 2025-07-14T17:41:57+00:00 to 2025-11-01T00:58:34+00:00

KS Updated by Konstantin Shalygin 12 months ago Actions #15

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100

UB Updated by Upkeep Bot 3 months ago Actions #16

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T00:58:34+00:00 to 2026-08-28T01:34:36+00:00
Actions

Also available in: PDF Atom