[SERVER-66913] configureCollectionBalancing() should return NamespaceNotSharded when the requested collection cannot be processed Created: 01/Jun/22  Updated: 29/Oct/23  Resolved: 07/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.3, 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Paolo Polato Assignee: Paolo Polato
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
is duplicated by SERVER-66914 configureCollectionBalancing() should... Closed
is duplicated by SERVER-66915 configureCollectionBalancing() should... Closed
is duplicated by SERVER-66981 Complete TODO listed in SERVER-66915 Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0, v5.3
Sprint: Sharding EMEA 2022-06-27
Participants:

 Description   

The configureCollectionBalancing() command is currently returning a ConflictingOperationInProgress error when the requested collection cannot be found as an entry within config.collection.

Such behaviour is not consistent with similar failure scenarios, and it could mislead the end user.



 Comments   
Comment by Githook User [ 14/Oct/22 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-66913 make configureCollectionBalancing() return NamespaceNotSharded on failure + allow calling configureCollectionBalancing interally
Branch: v6.0
https://github.com/mongodb/mongo/commit/a9a07dc8deb6b83eb5cfd2b9e349a9e44ac2000c

Comment by Githook User [ 07/Jun/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-66913 make configureCollectionBalancing() return NamespaceNotSharded on failure
Branch: master
https://github.com/mongodb/mongo/commit/bd4283b36378ea76e7ffe018fe61d488da73d238

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