[SERVER-56310] Use w: majority for createCollection command in kill_sessions_with_prepared_transaction.js Created: 23/Apr/21  Updated: 29/Oct/23  Resolved: 23/Apr/21

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

Type: Bug Priority: Major - P3
Reporter: Vishnu Kaushik Assignee: Vishnu Kaushik
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-55753 Use w: majority for createCollection ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2
Sprint: Repl 2021-05-03
Participants:
Linked BF Score: 42

 Description   

Similarly to SERVER-55753, we should use w:majority when performing writes before starting a local read concern transaction, to ensure that the writes exist in the snapshot being used by the transaction.



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

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-56310 Use w: majority to ensure transaction uses correct snapshot
Branch: v4.4
https://github.com/mongodb/mongo/commit/1613cf7f3257e7d933434351f931d3f084ab9ad6

Comment by Githook User [ 14/May/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-56310 Use w: majority to ensure transaction uses correct snapshot
Branch: v4.2
https://github.com/mongodb/mongo/commit/923c41a78246fe99e3a6605946cf1f6d7cd82395

Comment by Githook User [ 23/Apr/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-56310 Use w: majority to ensure transaction uses correct snapshot
Branch: master
https://github.com/mongodb/mongo/commit/f064d4aee86645a36fe38930fb1f5a75815adacf

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