[SERVER-65971] Avoid/Suppress mixed_mode write on config.transactions Created: 26/Apr/22  Updated: 29/Oct/23  Resolved: 26/Jul/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Daniel Gottlieb (Inactive) Assignee: Daniel Gottlieb (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on WT-9201 change mixed-mode to a per-transactio... Closed
Duplicate
is duplicated by SERVER-66253 Remove cases of write_timestamp_usage... Closed
Gantt Dependency
has to be done before WT-9276 remove support for mixed-mode Closed
Related
related to SERVER-68330 [6.0] Allow mixed_mode writes on conf... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 6

 Description   

When writing to config.transaction documents, we make an optimization to only write the latest value. This can happen for vectored inserts on a primary or after an batch of oplog application. However, after rolling back, we're expected to have the appropriate version of config.transactions documents as of the stable timestamp. Because the storage engine may never have been told about the document, we fix this by synthesizing the right version and persisting it without a timestamp. That update violates the ordered constraint.



 Comments   
Comment by Githook User [ 26/Jul/22 ]

Author:

{'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}

Message: SERVER-65971: Have _restoreTxnsTableEntryFromRetryableWrites declare its intent as an untimestamped write.
Branch: master
https://github.com/mongodb/mongo/commit/c90a8e578049d9921175fcd7db5f3e1becfa9076

Comment by Githook User [ 26/Jul/22 ]

Author:

{'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}

Message: SERVER-65971: Add an API for untimestamped writes to suppress write_timestamp_usage=ordered checks.
Branch: master
https://github.com/mongodb/mongo/commit/aa6a253f8b9c9023377870d47240784679077a0a

Generated at Thu Feb 08 06:04:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.