[SERVER-83825] increase log verbosity for write conflict retries in index_build_operation_metrics.js: Created: 01/Dec/23 Updated: 03/Jan/24 Resolved: 12/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.1, 7.3.0-rc0, 7.0.6 |
| 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 | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Storage Execution
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v7.2, v7.0
|
||||||||
| Sprint: | Execution Team 2023-12-25 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 5 | ||||||||
| Description |
|
Our CI sytem recently reported a failure in this test recently in October where the resource consumption metrics from an interrupted index build was higher than expected. One plausible explanation for this test failure is that there were write conflicts at the storage engine layer leading to the application layer retrying the index build sub operation, resulting in the operation metric incremented more than once (this is by design). If we are able to detect instances of write conflicts during the test, it would be helpful in investigating future occurrences of this failure scenario. This can be accomplished by increasing the verbosity level of the kWrite log component. |
| Comments |
| Comment by Githook User [ 03/Jan/24 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This supports debugging unexpected operation metric counts that may be caused by write conflicts in the server. (cherry picked from commit e4142468d747fbb9865d0ec691c70b0f538ea474) GitOrigin-RevId: 7f489164a35370db9e0343f9a5d0c116d66d94a1 |
| Comment by Githook User [ 03/Jan/24 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This supports debugging unexpected operation metric counts that may be caused by write conflicts in the server. (cherry picked from commit e4142468d747fbb9865d0ec691c70b0f538ea474) |
| Comment by Githook User [ 12/Dec/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This supports debugging unexpected operation metric counts that may be caused by write conflicts in the server. GitOrigin-RevId: e4142468d747fbb9865d0ec691c70b0f538ea474 |