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

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

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

      _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@mongodb.com Cheahuychou Mao
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: