Remove or fix db.logout()

XMLWordPrintableJSON

    • 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.

            Assignee:
            Unassigned
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: