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

call replicateSearchIndex from production code to js

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

      Historically we've been able to tell if the mock is running or not from server code via checking if the host params for the search index management host are not set. However, it has become clear that the mongot mock doesn't set every node with a searchIndexManagementHost param. Therefore we cannot rely on globalSearchIndexParams.host.empty() to filter out index commands from mock tests

       

      To correct this, the mongotmock + sharding test infrastructure will need to make sure that option to launch a search index management host

       

      We're going to move the call to replicateSearchIndex from production code to javascript. To do this we have to add a new command, ClusterReplicateSearchIndexCommand

            Assignee:
            maddie.zechar@mongodb.com Maddie Zechar
            Reporter:
            maddie.zechar@mongodb.com Maddie Zechar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None