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

Convert SessionsCollection to throw instead of return status

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
    • Fully Compatible
    • Sharding 2019-10-21, Sharding 2019-11-04

      All of the SessionsCollection functions return a Status. Nearly every spot in which its functions are used either uassertStatusOK() or return immediately on !Status::isOK(). We should just throw.

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: