Operational Defect Database

BugZero found this defect 59 days ago.

MongoDB | 2616169

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

Last update date:

3/21/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

_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.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Verification

Learn More

Search:

...