[SERVER-49556] fix index build in fsm_workloads/indexed_insert_base.js index setup to work with multi-document transactions Created: 16/Jul/20  Updated: 29/Oct/23  Resolved: 22/Jul/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.4.1, 4.7.0

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-07-27
Participants:
Linked BF Score: 6

 Description   

FSM workloads derived from indexed_insert_base.js create an index during the setup phase with the default write concern. In test suites which run the post-setup operations within multi-document transactions, the index, which is created without a majority write concern during the setup phase, may not be visible to the transactions per read/write visibility rules.



 Comments   
Comment by Githook User [ 04/Aug/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-49556 fix indexed_insert_base.js to work with multi-doc transactions tests

Runs createIndexes with majority write concern to ensure index is available to operations
within multi-document transactions.

(cherry picked from commit 75e69d0800e4005510c775a6f7d8794902797e77)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f92c7e0b42b2836bec19a3d739eab0503b5dd82d

Comment by Githook User [ 04/Aug/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-49556 indexed_insert_base.js and derived fsm workloads provide index name to createIndexes command

(cherry picked from commit 7b5d2a2444cbcb1249a43c61a1f2b889f0d4aa86)
Branch: v4.4
https://github.com/mongodb/mongo/commit/8c870da574bf45ece287ccb15340471f0cbee9c5

Comment by Githook User [ 21/Jul/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-49556 fix indexed_insert_base.js to work with multi-doc transactions tests

Runs createIndexes with majority write concern to ensure index is available to operations
within multi-document transactions.
Branch: master
https://github.com/mongodb/mongo/commit/75e69d0800e4005510c775a6f7d8794902797e77

Comment by Githook User [ 21/Jul/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-49556 indexed_insert_base.js and derived fsm workloads provide index name to createIndexes command
Branch: master
https://github.com/mongodb/mongo/commit/7b5d2a2444cbcb1249a43c61a1f2b889f0d4aa86

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