allow_partial_results_with_maxTimeMS.js assumes find is sorted by _id, and timeout is too short

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc2, 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.2
    • QE 2022-11-28
    • 46
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The FindWhereSleepController in allow_partial_results_with_maxTimeMS.js assumes that find will return documents in _id order, and that tends to happen when testing locally, but that's not guaranteed by WiredTiger. We should add a .hint({_id: 1}).

      Also, ampleTimeMS was recently changed from a minimum of 2 seconds to just 100ms. This appears to be too short, and the change corresponds to the appearance of BF-26974. This timeout change should be reverted.

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

              Created:
              Updated:
              Resolved: