Project

General

Profile

Actions

Bug #61459

closed

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 almost 3 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% 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):
backport_processed
Fixed In:
v19.3.0-6056-gef3f512306
Released In:
v20.2.0~1625
Upkeep Timestamp:
2025-11-01T00:58:34+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 open3 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 ChangireActions
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 ShalyginActions
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 ackingRejectedActions
Actions #1

Updated by Milind Changire almost 3 years ago

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

Updated by Patrick Donnelly almost 3 years 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 almost 3 years 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 almost 2 years ago

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

Updated by Venky Shankar over 1 year ago

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

Updated by Venky Shankar over 1 year ago

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

Updated by Venky Shankar over 1 year ago

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

Updated by Upkeep Bot over 1 year ago

  • 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
Actions #9

Updated by Upkeep Bot over 1 year ago

  • 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
Actions #10

Updated by Upkeep Bot over 1 year ago

  • 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
Actions #11

Updated by Upkeep Bot over 1 year ago

  • Tags (freeform) set to backport_processed
Actions #12

Updated by Upkeep Bot 9 months ago

  • 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
Actions #13

Updated by Upkeep Bot 8 months ago

  • 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
Actions #14

Updated by Upkeep Bot 5 months ago

  • 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
Actions #15

Updated by Konstantin Shalygin 3 months ago

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

Also available in: Atom PDF