[SERVER-28923] Add diagnosability and supportability features for retryable writes Created: 21/Apr/17 Updated: 30/Oct/23 Resolved: 19/Jan/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.3, 3.7.2 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Jack Mulrow |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-257, SWDI | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Sharding 2018-01-01, Sharding 2018-01-15, Sharding 2017-12-18, Sharding 2018-01-29 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
This ticket is a placeholder to figure out between ourselves and with TSE what supportability and diagnosability enhancements we might need to include for retryable writes. Things that come to mind include:
|
| Comments |
| Comment by Githook User [ 19/Jan/18 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: (cherry picked from commit 9b6f404d30b944def9bcc77ebc8277fb97471080) |
| Comment by Jack Mulrow [ 19/Jan/18 ] |
|
Since I'm not sure where the "docs needed" comment went, here's what I put when I resolved the ticket: This ticket added a new section to the serverStatus response called "transactions" that contains 3 new fields:
"retriedCommandsCount" and "retriedStatementsCount" both ignore any retryable writes that may happen internally as part of a chunk migration, but "transactionsCollectionWriteCount" does include writes to a server's config.transactions collection that occur as part of a migration. These fields exist on secondaries but are not incremented. All three are NumberLongs and default to 0. |
| Comment by Githook User [ 18/Jan/18 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: |