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

cluster.js calls an undefined function to iterate over the config server nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.0-rc5, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding EMEA 2022-05-02
    • 0

    Description

      SERVER-58683 changed the way cluster.js iterates through the nodes of the config server replica set to perform several operations (such as executeOnConfigNodes()) by relying on the st.forEachConfigServer function.
       
      Nevertheless, such function is undefined in Cluster.st, which is an object of type FSMShardingTest (and not ShardingTest).

      (The consequences of this may go unperceived when executeOnConfigNodes() gets invoked in the setup() of an FSM workload: an uncaught exception will appear in the test log and no operation will be applied to the config server nodes, but the workload itself will be executed anyway, and possibly pass the test assertions).

      Attachments

        Activity

          People

            paolo.polato@mongodb.com Paolo Polato
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: