diff options
author | Antonio Fuschetto <antonio.fuschetto@mongodb.com> | 2022-10-03 07:05:49 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-10-03 08:04:19 +0000 |
commit | 546af4aa74cd24d59272b41878f8af14519ad433 (patch) | |
tree | e0f75d355f406ab91854243d7956f0a6f7b49c9b /src/mongo/db/s/resharding | |
parent | cded42a21255d21899c3c4c1388641040094fca7 (diff) | |
download | mongo-546af4aa74cd24d59272b41878f8af14519ad433.tar.gz |
SERVER-66972 Database critical section does not serialize with ongoing refreshes
Diffstat (limited to 'src/mongo/db/s/resharding')
-rw-r--r-- | src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp b/src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp index e942dcd139f..96569f5dd9d 100644 --- a/src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp +++ b/src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp @@ -237,7 +237,7 @@ protected: createChunks(env.version.epoch(), env.sourceUuid, env.version.getTimestamp(), "y"), boost::none); - forceDatabaseRefresh(opCtx, kNss.db()); + ASSERT_OK(onDbVersionMismatchNoExcept(opCtx, kNss.db(), boost::none)); forceShardFilteringMetadataRefresh(opCtx, kNss); if (refreshTempNss) |