[
https://issues.apache.org/jira/browse/DRILL-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315249#comment-14315249
]
Xiao Meng commented on DRILL-1697:
----------------------------------
[~parthc] Here is the reference from boost asio document:
http://www.boost.org/doc/libs/1_57_0/doc/html/boost_asio/reference/io_service.html#boost_asio.reference.io_service.stopping_the_io_service_from_running_out_of_work
> C++ Client. Use the object io_service::work to prevent io_service running
> out of work.
> ---------------------------------------------------------------------------------------
>
> Key: DRILL-1697
> URL: https://issues.apache.org/jira/browse/DRILL-1697
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Xiao Meng
> Assignee: Xiao Meng
> Fix For: 0.8.0
>
> Attachments: DRILL-1697.1.patch, ThreeQueriesTraceOn.txt,
> ThreeQueriesTraceonWithSleep10Seconds5.txt, querySubmitterCrashes.GIF
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)