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

CollectionOptions::validate() fails if a UUID is present.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.8
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Repl 2017-05-29

    Description

      CollectionOptions started supporting an optional collection UUID in SERVER-27987. The collection UUID is generated by the server and is not permitted as part of the collection options when provided by a user (as opposed to reading the existing collection metadata using listCollections). This behavior is controlled by the CollectionOptions::ParseKind enumeration when calling CollectionOptions::parse().

      CollectionOptions also supports validation by calling CollectionOptions::validate(). Currently, validate() will fail if the metadata contains a collection UUID.

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              benety.goh@mongodb.com Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: