[SERVER-4088] Make error message that object doesn't have full shard key include the object fields Created: 17/Oct/11  Updated: 29/Feb/12  Resolved: 13/Dec/11

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

Type: Improvement Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-4074 object doesn't have full shard key er... Closed
Participants:

 Description   

In the compare method of ShardKeyPattern in shardkey.cpp, there are 2 assertion messages (10198 and 10199) for when the mongos encounters an object without the shard key. That error message reports only that there are fields of the shard key missing, with no information about what fields were provided. The message should the field names that are present (perhaps at a higher logging verbosity).


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