[SERVER-6686] xtime_get() method is deprecated Created: 01/Aug/12  Updated: 25/Jan/17  Resolved: 16/Jun/15

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

Type: Improvement Priority: Major - P3
Reporter: Nathaniel McCallum Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: build-needs-definition, build-planning
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File mongodb-fix-xtime.patch    
Backwards Compatibility: Fully Compatible
Sprint: Sharding 5 06/26/16
Participants:

 Description   

Building mongoDB on a recent boost fails due to the removal of the xtime_get() method. The attached patch fixes mongoDB to work on all versions of boost 1.35+.



 Comments   
Comment by Githook User [ 16/Jun/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-6686 Remove remaining uses of boost::xtime.

Also, remove curTimeMicros() which could not represent times since it cannot
represent points in time after 1970-01-01T00:01:11:34.967
Branch: master
https://github.com/mongodb/mongo/commit/8c877b35e44e15fe2ccaf564103571a7bef728bc

Comment by Githook User [ 16/Jun/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-6686 Remove all uses of boost::xtime outside of time_support.cpp.
Branch: master
https://github.com/mongodb/mongo/commit/b06861044ad1610cef2f2fa8a9e24e5b72ee7345

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