[SERVER-78864] Fix $_internalSchemaAllowedProperties serialization to be re-parseable Created: 11/Jul/23  Updated: 29/Oct/23  Resolved: 19/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: Naama Bareket
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
Participants:

 Description   

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

$_internalSchemaAllowedProperties expected a name placeholder of ?, but \'expression\' has a mismatching placeholder \'i\' 

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



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

Author:

{'name': 'Naama Bareket', 'email': 'naama.bareket@mongodb.com', 'username': 'naama-bareket'}

Message: SERVER-78864: Fix $_internalSchemaAllowedProperties serialization to be re-parseable
Branch: master
https://github.com/mongodb/mongo/commit/2a5cd2317f433094b7bf4cb343cd987fc2d59223

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