We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09046e7 commit 21ca2d7Copy full SHA for 21ca2d7
src/mongo/s/sharding_task_executor.cpp
@@ -138,7 +138,10 @@ StatusWith<TaskExecutor::CallbackHandle> ShardingTaskExecutor::scheduleRemoteCom
138
LogicalSessionFromClient::parse("lsid"_sd, request.cmdObj["lsid"].Obj());
139
140
if (cmdObjLsid.getUid()) {
141
- invariant(*cmdObjLsid.getUid() == request.opCtx->getLogicalSessionId()->getUid());
+ tassert(100901,
142
+ "User digest in the logical session ID from opCtx does not match with the "
143
+ "command request",
144
+ *cmdObjLsid.getUid() == request.opCtx->getLogicalSessionId()->getUid());
145
return newRequest;
146
}
147
0 commit comments