[SERVER-60103] totalRefreshWaitTimeMicros stat is not working as expected Created: 21/Sep/21  Updated: 29/Oct/23  Resolved: 22/Nov/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Bug Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2021-11-01, Sharding EMEA 2021-11-15, Sharding EMEA 2021-11-29
Participants:

 Description   

After the changes of SERVER-46199 the catalog cache was changed to use a new ReadTrhoughCache API, which caused the totalRefreshWaitTimeMicros stat to not properly count the amount of time a thread waits for a refresh.



 Comments   
Comment by Githook User [ 22/Nov/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-60103 Fix catalog cache totalRefreshWaitTimeMicros stat report in some error scenarios
Branch: master
https://github.com/mongodb/mongo/commit/6b6b997a36f966f43c707c48e752979a8fc11e84

Generated at Thu Feb 08 05:48:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.