[SERVER-47030] Fix date_time_support code to not produce exceptions Created: 20/Mar/20  Updated: 08/Jan/24  Resolved: 23/May/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0, 4.4.4, 4.2.13, 4.0.24

Type: Bug Priority: Major - P3
Reporter: Jacob Evans Assignee: Jacob Evans
Resolution: Fixed Votes: 0
Labels: afz, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Query 2020-04-06, Query 2020-04-20, Query 2020-05-04, Query 2020-05-18, Query 2020-06-01
Participants:
Linked BF Score: 45

 Description   

We use date_time_support to produce string versions of dates. It currently throws exceptions. We need to reign in this behaviour so it doesn't cause the failure of queries when we attempt to produce informational strings.



 Comments   
Comment by Githook User [ 25/Feb/21 ]

Author:

{'name': 'Ted Tuckman', 'email': 'ted.tuckman@mongodb.com', 'username': 'TedTuckman'}

Message: SERVER-47030 Fix date_time_support to not throw exceptions
Branch: v4.0
https://github.com/mongodb/mongo/commit/37d125cd1aba897ab45da36f9054c35938ee9d59

Comment by Githook User [ 29/Jan/21 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}

Message: SERVER-47030 Fix date_time_support to not throw exceptions

(cherry picked from commit d169769bba283cd0a1906c81580ff8e7cf7bcd93)
Branch: v4.2
https://github.com/mongodb/mongo/commit/a3c3db2aa15a12443f531750c28a1e408bda32dd

Comment by Githook User [ 29/Jan/21 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}

Message: SERVER-47030 Fix date_time_support to not throw exceptions

(cherry picked from commit d169769bba283cd0a1906c81580ff8e7cf7bcd93)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f952f10948d21b0fc588837d8937b0d04330c353

Comment by Githook User [ 23/May/20 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}

Message: SERVER-47030 Fix date_time_support to not throw exceptions
Branch: master
https://github.com/mongodb/mongo/commit/d169769bba283cd0a1906c81580ff8e7cf7bcd93

Comment by Craig Homa [ 19/May/20 ]

Hey mira.carey@mongodb.com, are you able to weigh in on this CR?

Comment by Jacob Evans [ 26/Mar/20 ]

Code review url: https://mongodbcr.appspot.com/574810031/

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