diff options
author | Tommaso Tocci <tommaso.tocci@mongodb.com> | 2020-05-19 15:03:03 +0200 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-19 17:29:07 +0000 |
commit | b55528c5954b9d055e5cc55e2e7e58048f149208 (patch) | |
tree | eb81a912742e46ac27c93fc53fb88b6af68156db /src/mongo/db/s/migration_source_manager.cpp | |
parent | 9d546a80c97a15df15e7358f18cf41e814fbfa6c (diff) | |
download | mongo-b55528c5954b9d055e5cc55e2e7e58048f149208.tar.gz |
SERVER-48288 Remove 2nd CatalogCache used just for filtering
Diffstat (limited to 'src/mongo/db/s/migration_source_manager.cpp')
-rw-r--r-- | src/mongo/db/s/migration_source_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_source_manager.cpp b/src/mongo/db/s/migration_source_manager.cpp index 13c0546313c..a9ad196e69f 100644 --- a/src/mongo/db/s/migration_source_manager.cpp +++ b/src/mongo/db/s/migration_source_manager.cpp @@ -666,7 +666,7 @@ void MigrationSourceManager::_cleanup() { // possible that the persisted metadata is rolled back after step down, but the write which // cleared the 'inMigration' flag is not, a secondary node will report itself at an older // shard version. - getCatalogCacheLoaderForFiltering(_opCtx).waitForCollectionFlush(_opCtx, getNss()); + CatalogCacheLoader::get(_opCtx).waitForCollectionFlush(_opCtx, getNss()); // Clear the 'minOpTime recovery' document so that the next time a node from this shard // becomes a primary, it won't have to recover the config server optime. |