$listSampledQueries crashes if the fetching of queries involves a getMore command

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding NYC 2023-06-26
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      DocumentSourceListSampledQueries::doGetNext() currently does not store the DBDirectClient that it uses to create the DBClientCursor for fetching. As a result, when DBClientCursor::assembleGetMore() tries to run a getMore command, it crashes because the DBClientBase is no longer valid.

              Assignee:
              Cheahuychou Mao
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: