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: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Catalog and Routing
    • 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:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: