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

Increase sleepTimeMS in allow_partial_results_with_maxTimeMS_failpoints.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • v8.0
    • 0

      Increase sleepTimeMS in allow_partial_results_with_maxTimeMS_failpoints.js to ensure that not all documents are returned from a specific shard. Currently the sleep time is calculated as Math.round(1.1 * ampleTimeMS), which is too close to ampleTimeMS. Experiments show that reducing the factor to 0.8 guarantees the test to fail, and this is pretty close to 1.1.

      This task will increase the time that a shard is blocked waiting to 1.5 * ampleTimeMS.

            Assignee:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Reporter:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: