[SERVER-31229] count and listIndexes commands should return NamespaceNotFound on unknown UUID Created: 22/Sep/17  Updated: 30/Oct/23  Resolved: 27/Sep/17

Status: Closed
Project: Core Server
Component/s: Querying, Replication, Storage
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Bug Priority: Major - P3
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Fixed 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: Storage 2017-10-02
Participants:
Linked BF Score: 0

 Description   

Right now they return:

	"operationTime" : Timestamp(1506112938, 1),
	"ok" : 0,
	"errmsg" : "db name can't be empty",
	"code" : 13074,
	"codeName" : "Location13074"

However, this results in initial sync aborting rather than ignoring a nonexistent collection.



 Comments   
Comment by Githook User [ 27/Sep/17 ]

Author:

{'email': 'geert@mongodb.com', 'name': 'Geert Bosch', 'username': 'GeertBosch'}

Message: SERVER-31229 Commands return NamespaceNotFound on unknown UUID
Branch: master
https://github.com/mongodb/mongo/commit/0a0a8bf93d88ce91629f8ee460e57d8bd56246e6

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