From 374f14d984da357c943098735e7e6d13f250675a Mon Sep 17 00:00:00 2001 From: Tess Avitabile Date: Thu, 15 Mar 2018 16:16:58 -0400 Subject: SERVER-33669 Stepdown and shutdown should abort all uncommitted transactions --- src/mongo/db/kill_sessions_local.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mongo/db/kill_sessions_local.h') diff --git a/src/mongo/db/kill_sessions_local.h b/src/mongo/db/kill_sessions_local.h index 7177fad6b0d..c9d813f4915 100644 --- a/src/mongo/db/kill_sessions_local.h +++ b/src/mongo/db/kill_sessions_local.h @@ -39,4 +39,10 @@ SessionKiller::Result killSessionsLocal(OperationContext* opCtx, const SessionKiller::Matcher& matcher, SessionKiller::UniformRandomBitGenerator* urbg); +/** + * Kills all transactions on mongod for sessions matching 'matcher'. + */ +void killSessionsLocalKillTransactions(OperationContext* opCtx, + const SessionKiller::Matcher& matcher); + } // namespace mongo -- cgit v1.2.1