summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/requires_collection_stage.cpp
diff options
context:
space:
mode:
authorAndrew Chen <andrew.chen@10gen.com>2020-02-05 14:08:37 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-05 19:42:41 +0000
commitad06b5ffbc39838e92cae0b73f51d3cf5a417116 (patch)
tree97887420258957d329d671f3117897e410595a5f /src/mongo/db/exec/requires_collection_stage.cpp
parentc51a36a187405c0d56698a6a3242b8828e387c37 (diff)
downloadmongo-ad06b5ffbc39838e92cae0b73f51d3cf5a417116.tar.gz
SERVER-44037 Removed the restartCatalog Cmd and all references to it
delete mode 100644 jstests/core/restart_catalog.js delete mode 100644 jstests/noPassthrough/closeAll_with_background_ops_fails_safely.js delete mode 100644 jstests/noPassthrough/restart_catalog_preserves_min_visible.js delete mode 100644 jstests/noPassthrough/restart_catalog_sharded_cluster.js delete mode 100644 jstests/noPassthroughWithMongod/restart_catalog_interrupts_background_validation.js delete mode 100644 src/mongo/db/commands/restart_catalog_command.cpp delete mode 100644 src/mongo/s/commands/cluster_restart_catalog_command.cpp
Diffstat (limited to 'src/mongo/db/exec/requires_collection_stage.cpp')
-rw-r--r--src/mongo/db/exec/requires_collection_stage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/exec/requires_collection_stage.cpp b/src/mongo/db/exec/requires_collection_stage.cpp
index 27a1e478fd4..31ea9a4fa45 100644
--- a/src/mongo/db/exec/requires_collection_stage.cpp
+++ b/src/mongo/db/exec/requires_collection_stage.cpp
@@ -72,8 +72,7 @@ void RequiresCollectionStageBase<CollectionT>::doRestoreState() {
invariant(_collection);
uassert(ErrorCodes::QueryPlanKilled,
- str::stream()
- << "Database epoch changed due to a database-level event such as 'restartCatalog'.",
+ str::stream() << "Database epoch changed due to a database-level event.",
getDatabaseEpoch(_collection) == _databaseEpoch);
doRestoreStateRequiresCollection();