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

Running shutdown command throws a MongoTimeoutException

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.4, 3.7.1
    • Affects Version/s: None
    • Component/s: Session Management
    • None

      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.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            peter.garafano@mongodb.com Peter Garafano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: