[SERVER-44096] killAllSessionsByPattern can kill itself if the pattern matches current session Created: 18/Oct/19  Updated: 29/Oct/23  Resolved: 31/Mar/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Arun Banala Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: sharding-4.4-stabilization, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-38335 killAllSessions can kill itself if th... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Sharding 2020-03-09, Sharding 2020-03-23, Sharding 2020-04-06
Participants:
Linked BF Score: 14

 Description   

killSessionsByPattern command submits a the list of sessions it needs to kill to the SessionKiller. The SessionKiller search for all operations attached to the session and kills them before killing the actual session. If the pattern matches the current session, the SessionKiller can kill the current killSessionsByPattern operation.



 Comments   
Comment by Githook User [ 02/Apr/20 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-44096 Prevent killAllSessionsByPattern and killSessions from being killed by variants of the killSessions command

(cherry picked from commit 0487d9f93e2c9e30485f41c5c68a78d8d713e60a)
Branch: v4.4
https://github.com/mongodb/mongo/commit/4c55ec710f38c0cb6c1b8577f7afc53ed303f176

Comment by Githook User [ 31/Mar/20 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-44096 Prevent killAllSessionsByPattern and killSessions from being killed by variants of the killSessions command
Branch: master
https://github.com/mongodb/mongo/commit/0487d9f93e2c9e30485f41c5c68a78d8d713e60a

Comment by Kevin Pulo [ 08/Nov/19 ]

See also SERVER-38335.

Generated at Thu Feb 08 05:05:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.