Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1101

collection::drop() throws exception when collection does not exist and connected to 3.0 mongod or earlier

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.3
    • Affects Version/s: None
    • Component/s: Implementation
    • None

      When collection::drop() is invoked on a collection that does not exist, it is inconsistent about whether or not it throws operation_exception. Currently, it varies between server type and server version (an exception is not thrown when connected to mongod 3.2 or later or when connected to mongos, but an exception is thrown when connected to mongod versions 3.0 or earlier).

      collection::drop() should never throw an exception due to a missing collection.

            Assignee:
            rassi J Rassi
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: