Bug #61459
closedmds: session in the importing state cannot be cleared if an export subtree task is interrupted while the state of importer is acking
100%
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.
MC Updated by Milind Changire over 3 years ago
- Status changed from New to Fix Under Review
PD Updated by Patrick Donnelly over 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)
ZG Updated by Zhansong Gao over 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.
KS Updated by Konstantin Shalygin over 2 years ago
- Backport changed from reef,quincy,pacific to quincy reef squid
VS Updated by Venky Shankar about 2 years ago
- Related to QA Run #68744: wip-vshankar-testing-20241029.045257-debug added
VS Updated by Venky Shankar about 2 years ago
- Related to deleted (QA Run #68744: wip-vshankar-testing-20241029.045257-debug)
VS Updated by Venky Shankar about 2 years 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
UB Updated by Upkeep Bot about 2 years 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
UB Updated by Upkeep Bot about 2 years 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
UB Updated by Upkeep Bot about 2 years 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
UB Updated by Upkeep Bot about 2 years ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot over 1 year 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
UB Updated by Upkeep Bot over 1 year 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
UB Updated by Upkeep Bot about 1 year 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
KS Updated by Konstantin Shalygin 12 months ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
UB Updated by Upkeep Bot 3 months ago
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2025-11-01T00:58:34+00:00 to 2026-08-28T01:34:36+00:00