[SERVER-49521] fix tests in core/txn to use write concern "majority" for createIndexes commands run before starting transactions Created: 15/Jul/20 Updated: 29/Oct/23 Resolved: 21/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.1, 4.7.0, 4.2.17 |
| Type: | Bug | Priority: | Minor - P4 |
| 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: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v4.4, v4.2
|
||||||||||||||||
| Sprint: | Execution Team 2020-07-27 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 36 | ||||||||||||||||
| Description |
|
There are a few tests in jstests/core/txns that may fail with a SnapshotUnavailable error because these tests create an index with a local write concern before running an local read concern transaction on the same collection. A similar issue was fixed in Some of the tests affected include:
|
| Comments |
| Comment by Githook User [ 09/Sep/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: (cherry picked from commit 2a4a2def40803f7dbdfa3ec21f0c178a5a16e259) |
| Comment by Githook User [ 04/Aug/20 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: (cherry picked from commit 2a4a2def40803f7dbdfa3ec21f0c178a5a16e259) |
| Comment by Githook User [ 17/Jul/20 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |