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

Change lookupNSSByUUID to return boost::optional<NamespaceString> instead of NamespaceString

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.11
    • Storage
    • None
    • Fully Compatible
    • Storage NYC 2019-05-06, Storage NYC 2019-05-20
    • 23

    Description

      Right now, we have lookupUUIDByNSS which returns boost::optional<CollectionUUID> and lookupNSSByUUID which returns NamespaceString. We should change lookupNSSByUUID to return boost::optional<NamespaceString> to avoid any confusion, as we can return an empty NamespaceString object if the NSS is not found by the UUID and to match the two functions behaviour.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: