BugZero found this defect 79 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
3/11/2024
MongoDB Server
No affected releases provided.
8.0.0-rc0
The condition to enable WWSKWID is incorrect in CollectionRoutingInfoTargeter::targetUpdate and CollectionRoutingInfoTargeter::targetDelete with opCtx->isRetryableWrite() && !TransactionRouter::get(opCtx). This condition also includes retryable internal transactions without a checked-out session to be run. It should be replaced with opCtx->getTxnNumber() && !opCtx->inMultiDocumentTransaction() which guarantees retryable writes condition without association with any kind of transaction.
xgen-internal-githook commented on Sat, 9 Mar 2024 14:43:37 +0000: Author: {'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'} Message: SERVER-85568 SERVER-87460 SERVER-87356 Only retryable writes are WriteWithoutShardKeyWithId (#19580) GitOrigin-RevId: 305dc78a2ec12c8d8c26f549ba2818dba866c1a1 Branch: master https://github.com/mongodb/mongo/commit/28345ed00a037a7d166f86d4166de1ef8160e8d1