[SERVER-54835] Use w:majority for transactions_profiling.js pre-transaction inserts Created: 26/Feb/21 Updated: 29/Oct/23 Resolved: 01/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.9.0 |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | James Wahlin | Assignee: | James Wahlin |
| 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 | ||||
| Participants: | |||||
| Linked BF Score: | 20 | ||||
| Description |
|
We should consolidate the following block into a single write operation and execute at w:majority write concern: https://github.com/mongodb/mongo/blob/9b5abca8dcb53f165a8df60a4faaad1586e1be04/jstests/core/txns/transactions_profiling.js#L23-L32 Otherwise, it is possible that the transaction we open on line 35 will choose a point of time that does not reflect all writes. |
| Comments |
| Comment by Githook User [ 28/Feb/21 ] |
|
Author: {'name': 'James Wahlin', 'email': 'james@mongodb.com', 'username': 'jameswahlin'}Message: |