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

add shell helper for deleteSearchIndex

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Query Integration

      In resmoke, mongos is spun up connected to a single mongot, it only sends the
      command to its colocated mongot. This is problematic for sharding with mongot-localdev as each mongod is deployed with its own mongot and (for server testing purposes) the mongos is connected to the last spun up mongot. In other words, the rest of the mongots in the cluster do not receive these index management commands and thus search queries will return incomplete results as the other mongots do not have an index (and all search queries require index).


      The solution is to run index management commands directly on each primary rather than on the collection, to ensure the command is propogated to each mongot in the cluster. 


      This ticket can use createSearchIndexes as an example.

            Unassigned Unassigned
            maddie.zechar@mongodb.com Maddie Zechar
            0 Vote for this issue
            2 Start watching this issue