diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2020-06-09 15:45:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-09 18:37:47 +0000 |
commit | 63572d7f6f3b84c7d65f3bd3fe62c7ccbcc42db0 (patch) | |
tree | abf1900a13fb0dd282bf0ab745d01b2a784c6eff /src/mongo/db/kill_sessions_local.h | |
parent | 80884df534d2fb033c6ec60d0672f5c45395ec28 (diff) | |
download | mongo-63572d7f6f3b84c7d65f3bd3fe62c7ccbcc42db0.tar.gz |
Revert "SERVER-47645 Must invalidate all sessions on stepdown"
This reverts commit 5f1a69aaf69bc12124f68e7b489a1437f9cdd575.
Diffstat (limited to 'src/mongo/db/kill_sessions_local.h')
-rw-r--r-- | src/mongo/db/kill_sessions_local.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/kill_sessions_local.h b/src/mongo/db/kill_sessions_local.h index e489589bdce..6b4da948e1c 100644 --- a/src/mongo/db/kill_sessions_local.h +++ b/src/mongo/db/kill_sessions_local.h @@ -71,10 +71,4 @@ void killSessionsAbortAllPreparedTransactions(OperationContext* opCtx); */ void yieldLocksForPreparedTransactions(OperationContext* opCtx); -/** - * Invalidates sessions that do not have prepared transactions, since txnNumbers for transactions - * that were aborted in-memory may be reused on the new primary. - */ -void invalidateSessionsForStepdown(OperationContext* opCtx); - } // namespace mongo |