diff options
Diffstat (limited to 'src/mongo/tools')
-rw-r--r-- | src/mongo/tools/bridge.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/tools/bridge.cpp b/src/mongo/tools/bridge.cpp index 4cce5d997b8..b3908037c4b 100644 --- a/src/mongo/tools/bridge.cpp +++ b/src/mongo/tools/bridge.cpp @@ -383,6 +383,10 @@ DbResponse ServiceEntryPointBridge::handleRequest(OperationContext* opCtx, const } else { dest.setExhaust(false); } + + // The original checksum won't be valid once the network layer replaces requestId. Remove it + // because the network layer re-checksums the response. + OpMsg::removeChecksum(&response); return {std::move(response), exhaustNS}; } else { return {Message()}; |