diff options
author | Antonio Fuschetto <antonio.fuschetto@mongodb.com> | 2022-09-23 14:59:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-09-23 15:38:18 +0000 |
commit | 34056a014ed754d871613914830ed7b92c208d8d (patch) | |
tree | e1bd9764e9c7461b0cd1e8d3d36bc86a1b011f25 /src | |
parent | 538c5d15bf6f84fcfab9328fdf9857e120321e00 (diff) | |
download | mongo-34056a014ed754d871613914830ed7b92c208d8d.tar.gz |
SERVER-69930 Unexpected error message in the logs attempting to refresh the version of a dropped database
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/s/shard_filtering_metadata_refresh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/shard_filtering_metadata_refresh.cpp b/src/mongo/db/s/shard_filtering_metadata_refresh.cpp index e156770ebb3..480c90b2e41 100644 --- a/src/mongo/db/s/shard_filtering_metadata_refresh.cpp +++ b/src/mongo/db/s/shard_filtering_metadata_refresh.cpp @@ -183,7 +183,7 @@ SharedSemiFuture<void> recoverRefreshDbVersion(OperationContext* opCtx, str::stream() << "Canceled metadata refresh for database " << dbName, !cancellationToken.isCanceled()); - if (status.isOK()) { + if (status.isOK() || status == ErrorCodes::NamespaceNotFound) { LOGV2(6697204, "Refreshed database metadata", "db"_attr = dbName); } else { LOGV2_ERROR(6697205, |