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

FSM workloads that force more yields can slow down other FSM workloads and cause timeout

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Storage Execution 2025-03-31
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      create_capped_collection_visibility_snapshot.js sets internalQueryExecYieldIterations to 1 to force more yields, making other concurrent tests slow.

      One potential solution is to tag and exclude these tests from concurrency_simultaneous suite since they could have a performance impact to other tests. If there's a finer grained way to exclude them it would be nicer since we only observed one failure under debug tsan build.

      Besides the tests that sets internalQueryExecYieldIterations to 1, there are also others that set it to 5 or 10. The choice seems arbitrary and we might want to review them to see if they're set at the right value, and whether the tests with higher values still need to be excluded.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            wei.hu@mongodb.com Wei Hu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: