[SERVER-66737] performing reads for retryable writes should not be recorded in Operation Metrics Created: 24/May/22  Updated: 29/Oct/23  Resolved: 29/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc4, 6.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.1
Sprint: Server Serverless 2022-10-03
Participants:

 Description   

We should not be recording any accessory reads performed as part of a retryable write in operation metrics.
(Ideally we would not be performing any reads period, since everything in config.transactions and config.system.sessions ought to already be mirrored in memory anyway.)



 Comments   
Comment by Githook User [ 30/Sep/22 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-66737 performing reads for retryable writes should not be recorded in Operation Metrics
Branch: v6.1
https://github.com/mongodb/mongo/commit/5f3a51a85aa0c13f31df82ebc7d4362b1582e7ed

Comment by Githook User [ 28/Sep/22 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-66737 performing reads for retryable writes should not be recorded in Operation Metrics
Branch: master
https://github.com/mongodb/mongo/commit/1c23efb07b0958cb8e43211982326587db1edefe

Comment by Siyuan Zhou [ 27/Jul/22 ]

FWIW, SERVER-66502 added a way to pause metric collection.

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