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

Investigate whether more robust error checking is needed when calling executeCommandAgainstDatabasePrimary

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      Asserting status ok here does not check whether the remote command succeeded, rather just asserts that a response was received. 

      https://github.com/mongodb/mongo/blob/0ff5e5e7cc09c31d3fe260cf6602f461e6e20bb6/src/mongo/s/commands/commands_public.cpp#L73

      This ticket is to investigate whether checking the response for errors is correct and whether this breaks tests.

      Attachments

        Activity

          People

            ted.tuckman@mongodb.com Ted Tuckman
            ted.tuckman@mongodb.com Ted Tuckman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: