[SERVER-54989] waitForMinimumOperationDuration for a resharding operation should always log. Created: 05/Mar/21  Updated: 29/Oct/23  Resolved: 15/Mar/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Kshitij Gupta Assignee: Kshitij Gupta
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-autocommits, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2021-04-05
Participants:
Linked BF Score: 137
Story Points: 1

 Description   

Right now, waitForMinimumOperationDuration() does not log if the 

(elapsed >= minDuration)

On a slow machine, it is likely this would be true, and this causes a failure in resharding_metrics_duration.js.

We should change waitForMinimumOperationDuration to always log.

 



 Comments   
Comment by Githook User [ 15/Mar/21 ]

Author:

{'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}

Message: SERVER-54989: waitForMinimumOperationDuration for a resharding operation should always log.
Branch: master
https://github.com/mongodb/mongo/commit/f30cfba9ae3e0bce5a0054f3623f243cbedcb5ae

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