[SERVER-3874] Sort and create index don't work for empty string field name Created: 15/Sep/11  Updated: 03/Dec/15  Resolved: 03/Dec/15

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Aaron Staple Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-3846 assertion db/../bson/bsonobjbuilder.h... Closed
duplicates SERVER-6852 Disallow empty path components in doc... Backlog
Related
is related to SERVER-2051 Disallow empty string keys Open
Operating System: ALL
Participants:

 Description   

Looks like this has been an issue in the index key generation code for a while and I didn't catch when I made my recent changes. In memory sort now uses that same key generation code - it's possible the old in memory sort didn't have this problem and there has been a regression for in memory sort, but I haven't checked on this.



 Comments   
Comment by David Storch [ 03/Dec/15 ]

In general we should disallow empty paths and empty path components. Closing as a dup of SERVER-6852.

Generated at Thu Feb 08 03:04:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.