[SERVER-23434] The namespace checks for find and getMore should return an InvalidNamespace error code Created: 30/Mar/16  Updated: 05/May/16  Resolved: 30/Mar/16

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.3.4

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

Backwards Compatibility: Minor Change
Operating System: ALL
Sprint: Sharding 12 (04/01/16)
Participants:

 Description   

Currently the find and getMore server operations return codes 16256 and 16258, which is unintuitive. We should make them return code InvalidNamespace (73) instead.



 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-23434 Make find and getMore return InvalidNamespace on bad namespaces
Branch: master
https://github.com/mongodb/mongo/commit/e45aba42f783cf2e2974b7ea6944a6c81b0a6be4

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