[SERVER-46692] Only increment numTotalOperations once for each command run on the mongos Created: 06/Mar/20  Updated: 06/Mar/20  Resolved: 06/Mar/20

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-46694 Make hedging_metrics_server_status.js... Closed
Related
Operating System: ALL
Sprint: Sharding 2020-03-23
Participants:
Linked BF Score: 39

 Description   

numTotalOperations is meant to be a count of all operations that could be hedged. That is, it should incremented exactly once for each command run on the mongos (i.e. the expected numTotalOperations should be 1). It looks like this spec was misinterpreted in SERVER-46566. numTotalOperations should be incremented at the beginning of startCommand. 


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