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.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment