An invalid or past-the-end iterator is being used
Defect 99885 (STATIC_C)
Checker INVALIDATE_ITERATOR (subcategory none)
File: /src/mongo/s/balancer/migration_manager.cpp
Function mongo::MigrationManager::finishRecovery(mongo::OperationContext *, const mongo::OID &, unsigned long, const mongo::MigrationSecondaryThrottleOptions &, bool)
/src/mongo/s/balancer/migration_manager.cpp, line: 391
"erase" invalidates iterator "std::__cxx11::list<mongo::MigrateInfo, std::allocator<mongo::MigrateInfo> >::const_iterator(itMigrateInfo)".
itMigrateInfo = nssAndMigrateInfos.second.erase(itMigrateInfo);
/src/mongo/s/balancer/migration_manager.cpp, line: 391
Using invalid iterator "std::__cxx11::list<mongo::MigrateInfo, std::allocator<mongo::MigrateInfo> >::const_iterator(itMigrateInfo)".
itMigrateInfo = nssAndMigrateInfos.second.erase(itMigrateInfo);