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

insert_with_data_size_aware_balancing.js is incompatible with test suites killing/terminating the CSRS primary

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0, v6.0
    • CAR Team 2024-04-29
    • 108

      The jstests/concurrency/fsm_workloads/insert_with_data_size_aware_balancing.js FSM test requires suites with balancer enabled to be executed.

      In general, the setup of such suites includes the  configuration of a set of CSRS failpoints that force the balancer to emit an infinite train of random migrations; such a configuration directly conflicts with the purpose of the test, which addresses this problem by temporarily resetting the failpoint values at the beginning of its execution. 

      While this countermeasure is generally effective, it reveals to be useless when the CSRS primary gets killed/terminated in the middle of a test execution: the suite executor will in fact re-enable the problematic configuration when the mongod process is respawned, effectively causing the test to time out.

            paolo.polato@mongodb.com Paolo Polato
            paolo.polato@mongodb.com Paolo Polato
            0 Vote for this issue
            1 Start watching this issue