[SERVER-78860] $_internalEqHash should serialize with a NumberLong Created: 11/Jul/23  Updated: 29/Oct/23  Resolved: 13/Jul/23

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

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

Issue Links:
Depends
is depended on by SERVER-85070 PM-2885 Tracking: Known find correctn... Closed
Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QO 2023-07-24
Participants:

 Description   

After serialization with "LiteralSerializationPolicy::kToRepresentativeParseableValue", $_internalEqHash fails to re-parse with the errorĀ 

$_internalEqHash can only be used to compare to NumberLong 

You can see the relevant failing tests in the query_stats_passthrough in BF-29269



 Comments   
Comment by Githook User [ 13/Jul/23 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-78860: $_internalEqHash should serialize with a NumberLong
Branch: master
https://github.com/mongodb/mongo/commit/71a7b98428619a786751db54cc811d37a46ec50b

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