[SERVER-41191] remove 'prepared' field from commitTransaction oplog entry format Created: 16/May/19 Updated: 29/Oct/23 Resolved: 21/May/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.12 |
| Type: | Improvement | 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 | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2019-06-03 |
| Participants: |
| Description |
|
The prepared field was originally intended to be used for both prepared and unprepared transactions. This is no longer the case as large unprepared transactions spanning multiple oplog entries no longer include a commitTransaction oplog entry. We should consider removing the prepared field from the IDL for the CommitTransactionOplogObject class and update all js and c++ tests that still include the prepared field in a commitTransaction oplog entry. |
| Comments |
| Comment by Githook User [ 21/May/19 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 21/May/19 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 21/May/19 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 21/May/19 ] |
|
Author: {'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}Message: |
| Comment by Githook User [ 21/May/19 ] |
|
Author: {'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}Message: Revert " This reverts commit bd8479a285fb1f2297d1a0cd1db3e4b6e5ec9501. |
| Comment by Githook User [ 21/May/19 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |