[SERVER-38523] Add prepare before commit in replica_sets_multi_stmt_txn_jscore_passthrough and its failover siblings Created: 10/Dec/18 Updated: 06/Dec/22 Resolved: 06/Mar/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Judah Schvimer | Assignee: | Backlog - Replication Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | prepare_testing | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Participants: |
| Description |
|
This passthrough wraps statements in a transaction. Preparing those transactions before committing them would add valuable test coverage for prepare, especially when failovers can happen between the prepare and commit. |
| Comments |
| Comment by Judah Schvimer [ 06/Mar/19 ] |
|
After discussion with esha.maharishi, the value here seems small compared to the cost. This will likely be a lot of work and extra complexity, and isn't how people use transactions anyways. |