On a sharded cluster, there are issues with commands being rejected because the collection was not found. It looks like maybe it is not properly checking the existence of the collection on other shards?
Atlas [mongos] newDB> db.test.insertOne({"a":"b"}) { acknowledged: true, insertedId: ObjectId("64ac7f01a79de8670d490112") } Atlas [mongos] newDB> db.test.createSearchIndex({"name":"default","definition":{"mappings": {"dynamic":"true"} }}) MongoServerError: collection newDB.test not found
- backported by
-
SERVER-80988 [6.0] Search Index Management Commands Fail To Detect Collection on Other Shards
- Closed