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

Convert SessionsCollection to throw instead of return status

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Sharding
    • Fully Compatible
    • Sharding 2019-10-21, Sharding 2019-11-04

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: