summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/session_catalog_migration_destination.cpp
diff options
context:
space:
mode:
authorSergi Mateo Bellido <sergi.mateo-bellido@mongodb.com>2020-09-23 08:34:27 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-23 17:19:19 +0000
commit1ec97a954317d55c122f33f49a3a6511b1d40ac2 (patch)
treef229bc6cde50601db183442f3de08982d5547907 /src/mongo/db/s/session_catalog_migration_destination.cpp
parent669e5650151733738ce8270e5bdf3c5759665316 (diff)
downloadmongo-1ec97a954317d55c122f33f49a3a6511b1d40ac2.tar.gz
SERVER-50400 Migrating session info ignores ConfigurationInProgress instead of ConflictingOperationInProgress
Diffstat (limited to 'src/mongo/db/s/session_catalog_migration_destination.cpp')
-rw-r--r--src/mongo/db/s/session_catalog_migration_destination.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/s/session_catalog_migration_destination.cpp b/src/mongo/db/s/session_catalog_migration_destination.cpp
index 9c26eae2c8b..437379cff1d 100644
--- a/src/mongo/db/s/session_catalog_migration_destination.cpp
+++ b/src/mongo/db/s/session_catalog_migration_destination.cpp
@@ -430,10 +430,6 @@ void SessionCatalogMigrationDestination::_retrieveSessionStateFromSource(Service
for (BSONArrayIteratorSorted oplogIter(oplogArray); oplogIter.more();) {
try {
lastResult = processSessionOplog(oplogIter.next().Obj(), lastResult);
- } catch (const ExceptionFor<ErrorCodes::ConfigurationInProgress>&) {
- // This means that the server has a newer txnNumber than the oplog being
- // migrated, so just skip it
- continue;
} catch (const ExceptionFor<ErrorCodes::TransactionTooOld>&) {
// This means that the server has a newer txnNumber than the oplog being
// migrated, so just skip it