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

Split out namespace pattern matching logic from _checkCanCreateCollection() into userAllowedCreateNS()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-06-01

    Description

      These two functions are both doing NamespaceString checks with subtle differences which check whether the namespace is valid. Instead of maintaining two different copies, we should consider consolidating them into one function.

      DatabaseImpl::_checkCanCreateCollection()
      userAllowedCreateNS()

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: