Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78847

Search Index Management Commands Fail To Detect Collection on Other Shards

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Fully Compatible
    • ALL
    • v7.0
    • Execution EMEA Team 2023-08-07

      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 

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            evan.plotkin@mongodb.com Evan Plotkin
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: