summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2019-02-06 13:16:12 -0500
committerLouis Williams <louis.williams@mongodb.com>2019-02-06 13:16:12 -0500
commit5cbcfe8b8a2444a7d5d6274ff90d7de32eef9adc (patch)
treedfd6797c8994f9203e1bcdd11e6b508c76829cf9 /src/mongo/db/storage
parentbb69551adf200b1b050476ad01b765018d5bac80 (diff)
downloadmongo-5cbcfe8b8a2444a7d5d6274ff90d7de32eef9adc.tar.gz
SERVER-38986 Fix error codes
Diffstat (limited to 'src/mongo/db/storage')
-rw-r--r--src/mongo/db/storage/kv/kv_storage_engine.cpp2
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/kv/kv_storage_engine.cpp b/src/mongo/db/storage/kv/kv_storage_engine.cpp
index c00728063a6..18dbb4b57c3 100644
--- a/src/mongo/db/storage/kv/kv_storage_engine.cpp
+++ b/src/mongo/db/storage/kv/kv_storage_engine.cpp
@@ -504,7 +504,7 @@ KVStorageEngine::reconcileCatalogAndIdents(OperationContext* opCtx) {
for (auto&& temp : internalIdentsToDrop) {
log() << "Dropping internal ident: " << temp;
WriteUnitOfWork wuow(opCtx);
- fassert(51063, _engine->dropIdent(opCtx, temp));
+ fassert(51067, _engine->dropIdent(opCtx, temp));
wuow.commit();
}
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp
index ea28f53be95..5f919dc4e4f 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp
@@ -637,7 +637,7 @@ Timestamp WiredTigerRecoveryUnit::_beginTransactionAtNoOverlapTimestamp(WT_SESSI
WiredTigerBeginTxnBlock txnOpen(session, _ignorePrepared);
auto status =
txnOpen.setTimestamp(readTimestamp, WiredTigerBeginTxnBlock::RoundToOldest::kRound);
- fassert(51061, status);
+ fassert(51066, status);
// We might have rounded to oldest between calling getAllCommitted and setTimestamp. We need to
// get the actual read timestamp we used.