[SERVER-21853] enableSharding does not check db name Created: 10/Dec/15  Updated: 06/Dec/22  Resolved: 14/Dec/15

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

Type: Bug Priority: Major - P3
Reporter: Misha Tyulenev Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Operating System: ALL
Participants:

 Description   

mongos> db.runCommand({enableSharding: 'a.b'});

works on mongo 3.0.x

a.b is not a valid db name and this should not be allowed. Its implicitly fixed in mongos 3.2


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