[SERVER-31828] endSession on js session object doesn't end sessions Created: 03/Nov/17  Updated: 30/Oct/23  Resolved: 06/Nov/17

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 3.6.0-rc3

Type: Bug Priority: Major - P3
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-11-13
Participants:

 Description   

endSession in the js integration doesn't actually end sessions (it calls

{ endSessions: 1, lsids: [] }

instead of

{endSessions: []}

).



 Comments   
Comment by Githook User [ 06/Nov/17 ]

Author:

{'name': 'Jason Carey', 'username': 'hanumantmk', 'email': 'jcarey@argv.me'}

Message: SERVER-31828 endSession in js should end sessions

endSessions is of the form

{ endSessions: [] }

,

not

{ endSessions: 1, lsids: []}

.

fix it up and add a test
Branch: master
https://github.com/mongodb/mongo/commit/dc04d7d6f22e6542f9f20cf33cd40015cefcf530

Generated at Thu Feb 08 04:28:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.