[SERVER-77197] Change error code to NamespaceNotSharded Created: 16/May/23  Updated: 29/Oct/23  Resolved: 17/May/23

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

Type: Task Priority: Major - P3
Reporter: Sanika Phanse (Inactive) Assignee: Sanika Phanse (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2023-05-29
Participants:
Story Points: 1

 Description   

Change this error to NamespaceNotSharded.

https://github.com/mongodb/mongo/blob/0249b20d05c58ceb47375413e9eb47e028859489/src/mongo/s/commands/cluster_write_without_shard_key_cmd.cpp#L103



 Comments   
Comment by Githook User [ 17/May/23 ]

Author:

{'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}

Message: SERVER-77197 Change error code to NamespaceNotSharded
Branch: master
https://github.com/mongodb/mongo/commit/31e93a577b5b1cef58424199d6ed325182db89de

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