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

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

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

      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@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: