Make _replicaSetEndPointHandleRequest handle parse errors in fire-and-forget opMsg correctly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • Cluster Scalability 2024-4-1
    • 125
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      _replicaSetEndpointHandleRequest parses an opMsg to determine what command is in it. If the parse fails, it unconditionally produces a DbResponse containing the parse error. However, we should not return an error if the OpMsg has the fire-and-forget bit set. mongod and mongos today handle this case by silently ignoring the error and not responding.

      We may just handle this as part of SERVER-81551 if we refactor how the OpMsgRequest parsing works for the ReplicaSetEndpoint.

            Assignee:
            Cheahuychou Mao
            Reporter:
            George Wangensteen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: