[SERVER-31170] Add support for session and transaction number to benchRun Created: 19/Sep/17 Updated: 30/Oct/23 Resolved: 27/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Performance, Shell |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Sharding 2017-10-02 | ||||
| Participants: | |||||
| Description |
|
The benchRun utility is used by both mongo-perf and sys-perf. In order to test the performance of retryable writes we need to make benchRun use sessions and send transaction numbers. In order to achieve this, benchRun will be extended with the following options:
Both these parameters may only be specified if useWriteCmd is true and will fail with a BadOptions error code otherwise. NOTE: The combination of sessionId/txnNumber makes the write retryable, but this ticket will not add any functionality to benchRun to actually retry since this is a much more involved task. |
| Comments |
| Comment by Githook User [ 27/Sep/17 ] |
|
Author: {'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}Message: |
| Comment by Githook User [ 22/Sep/17 ] |
|
Author: {'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}Message: |