[SERVER-56706] Metric to count multi-document transaction write conflicts Created: 06/May/21 Updated: 04/Dec/23 Resolved: 04/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Bruce Lucas (Inactive) | Assignee: | Wei Hu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | diagnostics, former-quick-wins | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Execution Team 2023-11-13, Execution Team 2023-11-27, Execution Team 2023-12-11 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
We have a severStatus metric operation.writeConflicts that counts write conflicts that are retried internally in mongod, but that does not count write conflicts within multi-document transactions that are returned to the client and must be retried at the application level. Since retries are expensive it would be useful to have a such a counter to help diagnose performance issues that can result, for example maybe transactions.writeConflicts. |
| Comments |
| Comment by Githook User [ 04/Dec/23 ] | |||||||||||||
|
Author: {'name': 'Wei Hu', 'email': 'wei.hu@mongodb.com', 'username': 'wh5a'}Message: GitOrigin-RevId: bdf13fc16e17f0a4cc9fe9d29420c6c016ed9a9d | |||||||||||||
| Comment by Wei Hu [ 04/Nov/23 ] | |||||||||||||
|
Steps to reproduce:
|