[SERVER-23435] Sharded count command should fail at invalid collection name Created: 30/Mar/16  Updated: 14/Apr/16  Resolved: 30/Mar/16

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

Type: Bug Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 12 (04/01/16)
Participants:
Linked BF Score: 0

 Description   

The sharded implementation of the count command does not check the validity of the namespace and passes it on directly to setShardVersion. We should catch wrong namespace names earlier.



 Comments   
Comment by Githook User [ 30/Mar/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-23435 Sharded count command should fail at invalid collection name
Branch: master
https://github.com/mongodb/mongo/commit/2a09ba86b4812c37ea167328dbf528bd1c245b4e

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