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

Remove optional condition from TranslatedRequestParams function parameters on CreateCollectionCoordinator

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-10-14, CAR Team 2024-10-28
    • 1

      The methods createCollectionAndIndexes() and commit() are receiving as a parameter a boost::optional<TranslatedRequestParams> but at the same time we are assuming that its value is going to be always present.

      So, let's get rid of the optional condition and convert them to a const TranslatedRequestParams& type.

            Assignee:
            igor.praznik@mongodb.com Igor Praznik
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: