Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2859

Running shutdown command throws a MongoTimeoutException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.4, 3.7.1
    • Component/s: Session Management
    • Labels:
      None
    • Case:

      Description

      DB adminDB = DbUtils.getDB(_mongo, "admin");
      adminDB.command("shutdown");
      

      Running the above code against MongoDB 3.4 yields a MongoSocketReadException
      Running the same code against MongoDB 3.6 yields a blocking 30 second MongoTimeoutException.

        Attachments

          Activity

            People

            Assignee:
            jeff.yemin Jeffrey Yemin
            Reporter:
            peter.garafano Peter Garafano
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: