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

Normalize error handling in case of non-droppable collections

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-09-16, Execution Team 2024-09-30

      The DatabaseImpl::isDroppableCollection function checks if the namespace complies with naming restrictions and therefore can be dropped. In the event of an error, in some cases it returns a Status in others it throws an exception.

      Goal of this ticket if to normalize these error cases taking into account any implications on how callers behave in case of error.

            Assignee:
            stephanie.eristoff@mongodb.com Stephanie Eristoff
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: