diff options
author | Sviatlana Zuiko <sviatlana.zuiko@mongodb.com> | 2023-03-27 18:11:39 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-27 19:26:55 +0000 |
commit | 082f63150e0a8914ba2a564fee757f6ca0fd1804 (patch) | |
tree | 221a0f9a5b11ea72b63ec492fba4d3a2e7cfd4f4 /src/mongo/s/stale_shard_version_helpers.cpp | |
parent | 4aa720213126917b82d5380bc746eb209a5efd3f (diff) | |
download | mongo-082f63150e0a8914ba2a564fee757f6ca0fd1804.tar.gz |
Revert "SERVER-74487 Always include tenant in db name attributes in error messages"
This reverts commit 08a15c3313eaa0335e5567000ff187fbb81f8668.
Diffstat (limited to 'src/mongo/s/stale_shard_version_helpers.cpp')
-rw-r--r-- | src/mongo/s/stale_shard_version_helpers.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/s/stale_shard_version_helpers.cpp b/src/mongo/s/stale_shard_version_helpers.cpp index aad9bf091ad..f1a45a3d409 100644 --- a/src/mongo/s/stale_shard_version_helpers.cpp +++ b/src/mongo/s/stale_shard_version_helpers.cpp @@ -66,8 +66,7 @@ void checkErrorStatusAndMaxRetries(const Status& status, error_details::ErrorExtraInfoForImpl<ErrorCodes::StaleDbVersion>::type>(); invariant(staleInfo->getDb() == nss.db(), str::stream() << "StaleDbVersion error on unexpected database. Expected " - << nss.dbName().toStringForErrorMsg() << ", received " - << staleInfo->getDb()); + << nss.db() << ", received " << staleInfo->getDb()); // If the database version is stale, refresh its entry in the catalog cache. catalogCache->onStaleDatabaseVersion(staleInfo->getDb(), staleInfo->getVersionWanted()); |