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

fsm_workload: Balancer prevents setup state from creating indexes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • Cluster Scalability 2025-03-17
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In fsm_workloads/insert_duplicates_unique_index.js there is a race condition between the balancer and the setup state of the workload which tries to create a collection and create an index. The balancer needs to be stopped while the setup state is being executed, as in fsm_workloads/timeseries/insert_ttl_timeseries.js.

      These fsm_workloads also create collections or indexes, or shard or unshard collections during setup:

      • insert_duplicates_unique_index.js
      • list_indexes.js
      • crud/indexed_insert/indexed_insert_base.js
      • crud/indexed_insert/indexed_insert_text.js
      • crud/indexed_insert/indexed_insert_ttl.js
      • ddl/collMod/collMod.js
      • crud/move_collection_with_crud.js
      • crud/indexed_insert/indexed_insert_where.js
      • ddl/create_index_background/create_index_background.js
      • ddl/create_index_background/create_index_background_unique.js
      • ddl/snapshot_read_at_cluster_time_ddl_operations.js
      • query/agg/agg_with_chunk_migrations.js
      • query/agg/agg_out.js
      • query/drop_index_during_lookup.js
      • query/drop_index_during_replan.js
      • query/findAndModify/findAndModify_remove_queue.js
      • query/findAndModify/findAndModify_update.js
      • query/map_reduce/map_reduce_with_chunk_migrations.js
      • query/update/updateOne_with_sort_update_queue.js

      ... and many more tests in other fsm states.

            Assignee:
            israel.hsu@mongodb.com Israel Hsu (Inactive)
            Reporter:
            israel.hsu@mongodb.com Israel Hsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: