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

Make allow_partial_results_with_maxTimeMS.js more deterministic

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 6.3.0-rc2
    • None
    • None
    • None
    • Fully Compatible
    • v6.3
    • QE 2023-03-06, QE 2023-03-20
    • 25

    Description

      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.

      Attachments

        Activity

          People

            steve.tarzia@mongodb.com Steve Tarzia
            steve.tarzia@mongodb.com Steve Tarzia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: