[SERVER-69579] Make error code 31025 into a named error code Created: 09/Sep/22  Updated: 12/Dec/23

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

Type: Task Priority: Major - P3
Reporter: Frederic Vitzikam Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: neweng, sharding-nyc-subteam2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-76478 Add error code 31025 to error_codes.y... Closed
Assigned Teams:
Cluster Scalability
Participants:
Story Points: 1

 Description   

Problem

Mongosync plans to add code that depends on this error.

Solution

Please turn error code 31025 (Shard key update is not allowed without specifying the full shard key in the query) into a named error code in the server.

_https://github.com/mongodb/mongo/blob/fb1b3f7abaf6a18b803afd90b6fdab4f42cfebed/src/mongo/base/error_codes.yml#L499_


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