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: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Execution

      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:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: