getMore with maxTimeMS returns "operation exceeded time limit" if concurrent blocking operation is running

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Querying
    • Fully Compatible
    • ALL
    • v3.6
    • Query 2018-03-26, Query 2018-04-09
    • 23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Came from investigation on BF-8367, where the awaitdata_getmore_cmd.js fails when running in parallel with compact_keeps_indexes.js. The latter performs slow operations that hold the global DB lock, and the first is expecting a getMore to time out and return a batch size of 0. Instead, the getMore fails with "exceeded time limit". Reproducible test is attached.

        1. getmore_maxtimems.js
          2 kB
          Nicholas Zolnierz

            Assignee:
            Charlie Swanson
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: