diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-03-08 17:53:51 -0500 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-03-14 14:18:23 -0400 |
commit | 5436b257da849bfe91934d904b5fcf27ccfdd366 (patch) | |
tree | ee6b2dde2a1ae04f4a9afd23add01f0fe59ce054 /src/mongo/db/commands/killcursors_cmd.cpp | |
parent | b5b4975daf0a327cc2ee2756b6771ca4c9fabfed (diff) | |
download | mongo-5436b257da849bfe91934d904b5fcf27ccfdd366.tar.gz |
SERVER-33672 Make killSessionsLocal() kill any matching Sessions
Diffstat (limited to 'src/mongo/db/commands/killcursors_cmd.cpp')
-rw-r--r-- | src/mongo/db/commands/killcursors_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/killcursors_cmd.cpp b/src/mongo/db/commands/killcursors_cmd.cpp index b883d2e2a05..453c703dfa4 100644 --- a/src/mongo/db/commands/killcursors_cmd.cpp +++ b/src/mongo/db/commands/killcursors_cmd.cpp @@ -89,7 +89,7 @@ private: if (txnToAbort) { auto session = SessionCatalog::get(opCtx)->getSession(opCtx, txnToAbort->first); if (session) { - (*session)->abortIfSnapshotRead(opCtx, txnToAbort->second); + (*session)->abortIfSnapshotRead(txnToAbort->second); } } |