[SERVER-41280] JS tests shouldn't assume the prepare oplog entry is the first in transaction Created: 22/May/19 Updated: 29/Oct/23 Resolved: 28/May/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.13 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Siyuan Zhou |
| 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 | ||||||||||||
| Sprint: | Repl 2019-06-03 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
JS tests made assumptions on the oplog entries written by transactions, especially some tests may check prepare oplog entry is the first, as in inmemory_preserves_active_txns.js and server_transaction_metrics_for_prepared_transactions.js. With large transactions packing format, that may or may not be true depending on maxNumberOfTransactionOperationsInSingleOplogEntry. |
| Comments |
| Comment by Githook User [ 28/May/19 ] |
|
Author: {'name': 'Siyuan Zhou', 'email': 'siyuan.zhou@mongodb.com', 'username': 'visualzhou'}Message: |