Make allow_partial_results_with_maxTimeMS.js more deterministic

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0, 6.3.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.3
    • QE 2023-03-06, QE 2023-03-20
    • 25
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      cluster_find.cpp sets aside 10% of maxTimeMS for buffered partial results to be returned in the event of a MaxTimeMSExpired error with allowPartialResults set. If this 10% of time is inadequate then a MaxTimeMSExpired error is returned instead of the partial results that are available. This makes js integration testing difficult because we may never see the partial results that we expect.

      The solution is likely some kind of failpoint to extent the time budget for returning buffered partial results.

              Assignee:
              Steve Tarzia
              Reporter:
              Steve Tarzia
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: