[SERVER-77615] Date subtract operation doesn't work correctly on NaN operand in classic engine Created: 31/May/23  Updated: 29/Oct/23  Resolved: 06/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc4, 6.0.10

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

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-75287 Make subtract behavior consistent wit... Closed
Related
is related to SERVER-81048 Possible Date Precision Bug in 6.0.10 Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Participants:
Linked BF Score: 135

 Description   

After the change in SERVER-75287, NaN operands in date subtract is not being handled correctly.



 Comments   
Comment by Rushan Chen [ 10/Aug/23 ]

Creating a backport request to 6.0 since SERVER-75287 was also backported to 6.0

Comment by Githook User [ 09/Jun/23 ]

Author:

{'name': 'Projjal Chanda', 'email': 'projjal.chanda@mongodb.com', 'username': 'projjal'}

Message: SERVER-77615: Handle NaN operands in date $subtract
Branch: v7.0
https://github.com/mongodb/mongo/commit/b56fea97d7594b34e1f9a5312c56500344b1d7a5

Comment by Projjal Chanda [ 06/Jun/23 ]

Creating a backport request to 7.0 since SERVER-75287 was also backported to 7.0

Comment by Githook User [ 06/Jun/23 ]

Author:

{'name': 'Projjal Chanda', 'email': 'projjal.chanda@mongodb.com', 'username': 'projjal'}

Message: SERVER-77615: Handle NaN operands in date $subtract
Branch: master
https://github.com/mongodb/mongo/commit/6ea3ccf12bcf9e9a92cb9ca3ef526cf1fb6f7e83

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