[SERVER-55578] Disallow atClusterTime reads on the config.transactions collection Created: 26/Mar/21  Updated: 29/Oct/23  Resolved: 10/May/21

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

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Lingzhi Deng
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-14433 Investigate changes in SERVER-55578: ... Closed
Related
is related to SERVER-55214 Resharding txn cloner can miss config... Closed
is related to SERVER-55305 Retryable write may execute more than... Closed
is related to SERVER-56631 Retryable write pre-fetch phase could... Closed
is related to SERVER-56796 Support atClusterTime snapshot reads ... Backlog
Backwards Compatibility: Minor Change
Sprint: Repl 2021-05-17
Participants:

 Description   

The changes from SERVER-55305 will address how a retryable write statement may execute multiple times without making atClusterTime reads on the config.transactions collection correct for all readTimestamps. To prevent accidental misuse of atClusterTime reads, they should be rejected on the config.transactions collection.

Note however that resharding depends on performing an atClusterTime read on the config.transactions collection (see SERVER-55214) and will need an undocumented option (or some internal privilege way) of continuing to use atClusterTime reads on the config.transactions collection.



 Comments   
Comment by Githook User [ 07/May/21 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-55578: Disallow atClusterTime reads and afterClusterTime majority reads on config.transactions
Branch: master
https://github.com/mongodb/mongo/commit/1690976bdb4bab7d03641391d72391394d23085c

Generated at Thu Feb 08 05:36:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.