[SERVER-43696] Ensure _prepareConflictStartTime, _prepareConflictDuration and curTimeMicros64() have consistent types in PrepareConflictTracker Created: 27/Sep/19  Updated: 29/Oct/23  Resolved: 30/Sep/19

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

Type: Task Priority: Major - P3
Reporter: Haley Connelly Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-10-07
Participants:
Linked BF Score: 12

 Description   

In the PrepareConflictTracker, _prepareConflictStartTime is of type long long, but set equal to curTimeMicros64(), of type unsigned long long , in beginPrepareConflict().

The type of _prepareConflictStartTime's type should be consistent throughout prepare_conflict_tracker. Additionally, _prepareConflictDuration and _prepareConflictStartTime should be of the same type if possible.



 Comments   
Comment by Githook User [ 30/Sep/19 ]

Author:

{'name': 'Haley Connelly', 'username': 'haleyConnelly', 'email': 'haley.connelly@10gen.com'}

Message: SERVER-43696 Ensure _prepareConflictStartTime, _prepareConflictDuration and curTimeMicros64() have consistent types in PrepareConflictTracker
Branch: master
https://github.com/mongodb/mongo/commit/ae95a4f31b75590635db3eb80ec6bf19cccffebf

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