summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
authorDaniel Gottlieb <daniel.gottlieb@mongodb.com>2022-07-26 15:10:08 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-27 15:10:03 +0000
commit238e3a345d9d2c26fbea3d87a3972215d8578802 (patch)
tree51fba195117114ea1f849d66a9877a3f1bb721c1 /src/mongo/db
parent8b816e05b8fe3a7c6d362ed4af5077c3cbad5f2d (diff)
downloadmongo-238e3a345d9d2c26fbea3d87a3972215d8578802.tar.gz
SERVER-68330: Suppress mixed-mode testing assertions on config.transactions.
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp
index ace8dd90cf8..00049325008 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp
@@ -801,7 +801,11 @@ StatusWith<std::string> WiredTigerRecordStore::generateCreateString(
ident.startsWith("internal-") ||
// TODO (SERVER-60753): Remove special handling for index build during recovery. This
// includes the following _mdb_catalog ident.
- nss == NamespaceString::kIndexBuildEntryNamespace || ident.startsWith("_mdb_catalog")) {
+ nss == NamespaceString::kIndexBuildEntryNamespace ||
+ // SERVER-68330: Reconstructing config.transactions after a rollback does a mixed-mode
+ // write.
+ nss == NamespaceString::kSessionTransactionsTableNamespace ||
+ ident.startsWith("_mdb_catalog")) {
ss << "write_timestamp_usage=mixed_mode,";
} else {
ss << "write_timestamp_usage=ordered,";