[SERVER-48078] Remove OpDebug invariant that relies on monotonic clock source Created: 11/May/20  Updated: 29/Oct/23  Resolved: 11/May/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.4.0-rc5
Fix Version/s: 4.4.0-rc6, 4.7.0, 4.2.11

Type: Bug Priority: Major - P3
Reporter: James Wahlin Assignee: James Wahlin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-47897 CurOp should use monotonic clock sour... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2
Sprint: Query 2020-05-18
Participants:
Linked BF Score: 16

 Description   

Remove this invariant:
https://github.com/mongodb/mongo/blob/087d6aeaaa10f401b22fa8c39be427150804aa2c/src/mongo/db/curop.h#L559

We can consider adding back under SERVER-47897 which will change timer usage in Curop/OpDebug to use a monotonic clock.



 Comments   
Comment by Githook User [ 06/Nov/20 ]

Author:

{'name': 'James Wahlin', 'email': 'james@mongodb.com', 'username': 'jameswahlin'}

Message: SERVER-48078 Remove OpDebug invariant that relies on monotonic clock source

(cherry picked from commit c2479d57f11528846cd4b87cd62cd75e5e2eebfc)
(cherry picked from commit 9f22227b1f0c89a45bd617bf1451678bde9af426)
Branch: v4.2
https://github.com/mongodb/mongo/commit/000a3979b74e388d249d0205007544318b0e0882

Comment by Githook User [ 11/May/20 ]

Author:

{'name': 'James Wahlin', 'email': 'james@mongodb.com', 'username': 'jameswahlin'}

Message: SERVER-48078 Remove OpDebug invariant that relies on monotonic clock source

(cherry picked from commit c2479d57f11528846cd4b87cd62cd75e5e2eebfc)
Branch: v4.4
https://github.com/mongodb/mongo/commit/9f22227b1f0c89a45bd617bf1451678bde9af426

Comment by Githook User [ 11/May/20 ]

Author:

{'name': 'James Wahlin', 'email': 'james@mongodb.com', 'username': 'jameswahlin'}

Message: SERVER-48078 Remove OpDebug invariant that relies on monotonic clock source
Branch: master
https://github.com/mongodb/mongo/commit/c2479d57f11528846cd4b87cd62cd75e5e2eebfc

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