[SERVER-78671] SBE plan involving empty field can crash server Created: 05/Jul/23  Updated: 29/Oct/23  Resolved: 07/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc7

Type: Bug Priority: Critical - P2
Reporter: Ian Boros Assignee: Drew Paroski
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: QE 2023-07-10
Participants:
Linked BF Score: 143

 Description   

On 7.0 IndexedStringVector's hashing function does not support empty strings. When called with an empty string, it usually leads to a crash. This can be triggered via the MakeObj SBE stage.



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

Author:

{'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}

Message: SERVER-78671 Add support for empty strings to IndexedStringVector
Branch: v7.0
https://github.com/mongodb/mongo/commit/76a021fcad7854f6a6416d9139b6c2874d4ed359

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