[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:
Backports
Related
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: SERVER-83825 increase log verbosity of write conflict retry messages in index build resource consumption test

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
Branch: v7.0
https://github.com/mongodb/mongo/commit/77e866df7168dcbc853d362c426c2e49e12cea0d

Comment by Githook User [ 03/Jan/24 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-83825 increase log verbosity of write conflict retry messages in index build resource consumption test

This supports debugging unexpected operation metric counts that may be caused by write conflicts in the server.

(cherry picked from commit e4142468d747fbb9865d0ec691c70b0f538ea474)
Branch: v7.2
https://github.com/mongodb/mongo/commit/7e734baf4a4fad9184b090fa4aa2907100d66fbf

Comment by Githook User [ 12/Dec/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-83825 increase log verbosity of write conflict retry messages in index build resource consumption test

This supports debugging unexpected operation metric counts that may be caused by write conflicts in the server.

GitOrigin-RevId: e4142468d747fbb9865d0ec691c70b0f538ea474
Branch: master
https://github.com/mongodb/mongo/commit/2287ab89c5f9d8870cbf6a9b2cb3fcb0a6698f48

Generated at Thu Feb 08 06:53:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.