[SERVER-84566] $geometry MultiLineString re-parsing error Created: 04/Jan/24  Updated: 09/Jan/24  Resolved: 09/Jan/24

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

Type: Bug Priority: Major - P3
Reporter: Alyssa Clark Assignee: Alyssa Clark
Resolution: Fixed Votes: 0
Labels: flag-for-2885-backport
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 45

 Description   

[j0:prim] | 2024-01-04T07:01:58.990+00:00 E  ASSERT   4457000 [conn36] "Tripwire assertion","attr":{"error":{"code":7349401,"codeName":"Location7349401","errmsg":"Was not able to re-parse queryStats key when reading queryStats.Status BadValue: Could not re-parse a representative query shape :: caused by :: GeoJSON LineString must have at least 2 vertices, instead got 0 vertices: [] Hash: 13075023414999675288 Query Shape: { cmdNs: { db: \"test\", coll: \"jstests_nin\" }, command: \"find\", filter: { testDB: { $geoIntersects: { $geometry: { type: \"MultiLineString\", coordinates: [ [] ] } } } } }"},"location":"{fileName:\"src/mongo/db/pipeline/document_source_query_stats.cpp\", line:254, functionName:\"toDocument\"}"}

The representative value for MultiLineString needs to be specified to be something re-parseable in expression_geo_serializer.cpp.



 Comments   
Comment by Githook User [ 09/Jan/24 ]

Author:

{'name': 'Alyssa Wagenmaker', 'email': 'alyssa.clark@mongodb.com', 'username': 'awagenmaker'}

Message: SERVER-84566 Fix re-parsing errors for complex geometry types (#17883)

GitOrigin-RevId: 78dd5e00149bc1f0043e9a03e4a260633bb01631
Branch: master
https://github.com/mongodb/mongo/commit/636d0c1ce26d905cc508a73ada598950e16860b5

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