Investigate whether more robust error checking is needed when calling executeCommandAgainstDatabasePrimary

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Ted Tuckman
            Reporter:
            Ted Tuckman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: