Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1697

C++ Client. Use the object io_service::work to prevent io_service running out of work.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      In C++ Client async API, the io_service may stop working because of there is a long enough time lag between two consecutive queries.

      References:

      http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/io_service.html#boost_asio.reference.io_service.stopping_the_io_service_from_running_out_of_work

        Attachments

        1. DRILL-1697.1.patch
          4 kB
          Xiaomeng Huang
        2. DRILL-1697-2.patch
          4 kB
          Xiaomeng Huang
        3. querySubmitterCrashes.GIF
          45 kB
          Alexander Zarei
        4. ThreeQueriesTraceOn.txt
          2.42 MB
          Alexander Zarei
        5. ThreeQueriesTraceonWithSleep10Seconds5.txt
          12 kB
          Alexander Zarei

          Activity

            People

            • Assignee:
              xiaom Xiaomeng Huang
              Reporter:
              xiaom Xiaomeng Huang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: