A line was accidentally deleted in the New Range Deleter patch:
diff --git a/src/mongo/db/s/metadata_manager.cpp b/src/mongo/db/s/metadata_manager.cpp index faa062e..b582186 100644 --- a/src/mongo/db/s/metadata_manager.cpp +++ b/src/mongo/db/s/metadata_manager.cpp @@ -114,9 +223,7 @@ void MetadataManager::refreshActiveMetadata(std::unique_ptr<CollectionMetadata> << remoteMetadata->toStringBasic() << " due to epoch change"; _receivingChunks.clear(); - _rangesToClean.clear(); - - _setActiveMetadata_inlock(std::move(remoteMetadata)); + _rangesToClean.clear(Status::OK()); return; }
It needs to be restored.