-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.6.3
-
Component/s: None
-
None
-
ALL
Hello,
The commands to kill sessions, like killSessions or killAllSessions, should remove all documents from config.system.sessions before returning, but it doesn't happen:
replset:PRIMARY> db.runCommand( { killAllSessions: [ ] } ) { "ok" : 1, "operationTime" : Timestamp(1522178178, 1), "$clusterTime" : { "clusterTime" : Timestamp(1522178178, 1), "signature" : { "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), "keyId" : NumberLong(0) } } } replset:PRIMARY> db.system.sessions.aggregate( [ { $listSessions: { } } ] ) { "_id" : { "id" : UUID("b514f284-58fb-464c-9214-779365b763e9"), "uid" : BinData(0,"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=") }, "lastUse" : ISODate("2018-03-27T18:46:58.524Z") }
Regards.
- duplicates
-
SERVER-31697 killSessions and friends should remove session record
- Closed