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 c8034bb commit 54c95dfCopy full SHA for 54c95df
src/mongo/s/sharding_task_executor.cpp
@@ -140,7 +140,10 @@ StatusWith<TaskExecutor::CallbackHandle> ShardingTaskExecutor::scheduleRemoteCom
140
request.cmdObj["lsid"].Obj());
141
142
if (cmdObjLsid.getUid()) {
143
- invariant(*cmdObjLsid.getUid() == request.opCtx->getLogicalSessionId()->getUid());
+ tassert(100901,
144
+ "User digest in the logical session ID from opCtx does not match with the "
145
+ "command request",
146
+ *cmdObjLsid.getUid() == request.opCtx->getLogicalSessionId()->getUid());
147
return newRequest;
148
}
149
0 commit comments