[SERVER-48393] Exclude exhaust isMaster commands from latency metrics Created: 25/May/20  Updated: 29/Oct/23  Resolved: 05/Jun/20

Status: Closed
Project: Core Server
Component/s: Diagnostics, Replication
Affects Version/s: None
Fix Version/s: 4.4.0-rc9, 4.7.0

Type: Improvement Priority: Major - P3
Reporter: Bruce Lucas (Inactive) Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-53197 Awaitable hello/isMaster appears in s... Closed
is related to SERVER-47267 Exhaust isMaster replies are logged a... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Repl 2020-06-15
Participants:

 Description   

In SERVER-47267 we exempted exhaust isMaster commands from slow query logging because they are expected to take ~10 seconds so would flood the logs with misleading slow query reports.

However it appears that they are still counted in our latency metrics (specifically the opLatencies section of serverStatus) which can be equally misleading. It would be good if we can exclude them from the latency metrics.



 Comments   
Comment by Githook User [ 08/Jun/20 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-48393 Exclude awaitable isMaster from serverStatus latency metrics

(cherry picked from commit 84033d0077d507491a6a80c2e1140bf6fd4055dc)
Branch: v4.4
https://github.com/mongodb/mongo/commit/14cb5634011e86800084cc822b2557992cc7222e

Comment by Githook User [ 05/Jun/20 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-48393 Exclude awaitable isMaster from serverStatus latency metrics
Branch: master
https://github.com/mongodb/mongo/commit/84033d0077d507491a6a80c2e1140bf6fd4055dc

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