Hi, there.
I have mongodb-org-server
version 8.0.6 and friends installed in a Ubuntu Noble Docker container. I am very new to MongoDB. I am trying to get the killAllSessions() function from either pymongo
or mongosh
to work. So far, my attempts have not been successful even though the killAllSessions() return assures me that it has worked.
Here’s what I have tried in this StackOverflow Question.
Would anyone tell me if there is anything special that is required to kill any sessions that are reported from the $listLocalSessions
aggregration call? I’m stumped.
Thanks.
Rodney Lott