-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Shell API
-
None
-
Developer Tools
db.logout() is broken in mongosh because it sends a command on a single connection in the connection pool, so it does not deterministically affect further commands. We should either fix it by e.g. making it work like db.auth(), or print a warning, or remove it entirely.