summaryrefslogtreecommitdiff
path: root/src/mongo/db/kill_sessions_local.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/kill_sessions_local.cpp')
-rw-r--r--src/mongo/db/kill_sessions_local.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/kill_sessions_local.cpp b/src/mongo/db/kill_sessions_local.cpp
index d1570e2f2e9..f5070365d4e 100644
--- a/src/mongo/db/kill_sessions_local.cpp
+++ b/src/mongo/db/kill_sessions_local.cpp
@@ -190,6 +190,7 @@ void yieldLocksForPreparedTransactions(OperationContext* opCtx) {
// Scan the sessions again to get the list of all sessions with prepared transaction
// to yield their locks.
+ LOGV2(6015318, "Yielding locks for prepared transactions.");
SessionKiller::Matcher matcherAllSessions(
KillAllSessionsByPatternSet{makeKillAllSessionsByPattern(newOpCtx.get())});
killSessionsAction(newOpCtx.get(),
@@ -222,6 +223,7 @@ void invalidateSessionsForStepdown(OperationContext* opCtx) {
// It is illegal to invalidate the sessions if the operation has a session checked out.
invariant(!OperationContextSession::get(opCtx));
+ LOGV2(6015319, "Invalidating sessions for stepdown.");
SessionKiller::Matcher matcherAllSessions(
KillAllSessionsByPatternSet{makeKillAllSessionsByPattern(opCtx)});
killSessionsAction(opCtx,