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.
Updated by Milind Changire almost 3 years ago
- Status changed from New to Fix Under Review
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)
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.
Updated by Konstantin Shalygin almost 2 years ago
- Backport changed from reef,quincy,pacific to quincy reef squid
Updated by Venky Shankar over 1 year ago
- Related to QA Run #68744: wip-vshankar-testing-20241029.045257-debug added
Updated by Venky Shankar over 1 year ago
- Related to deleted (QA Run #68744: wip-vshankar-testing-20241029.045257-debug)
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
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
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
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
Updated by Upkeep Bot over 1 year ago
- Tags (freeform) set to backport_processed
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
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
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
Updated by Konstantin Shalygin 3 months ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100