DropDatabaseAsync doesn't drop database

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Blocker - P1
    • None
    • Affects Version/s: 2.0.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This command:

      client.DropDatabaseAsync(dbName).Wait()
      

      Doesn't drop the database. I can drop it from the shell just fine.

      The following works just fine:

      var command = new BsonDocument
      {
          {"dropDatabase", 1},
      };
      db.RunCommandAsync<BsonDocument>(command).Wait();
      

      This leads me to believe there's problem with the DropDatabaseAsync method.

            Assignee:
            Robert Stam
            Reporter:
            Oliver Janik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: