Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-43894

Make dropping a nonexistent collection a noop

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-02-20, Execution Team 2023-02-06
    • 100

      Currently dropping a nonexistent collection is an error (SERVER-41365). I think that if the user wants to drop the collection and it happens to already not exist, the outcome is successful. Thus dropping a nonexistent collection should do nothing and return success to the client.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: