[
https://issues.apache.org/jira/browse/DRILL-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14321061#comment-14321061
]
Alexander Zarei commented on DRILL-1219:
----------------------------------------
[~parthc]
I tested it with BOOST_ASIO_DISBLE_IOCP; It does not even go as far as
BOOST_ASIO_ENABLE_CANCELIO goes before crashing. With
BOOST_ASIO_ENABLE_CANCELIO the log reaches:
2015-Feb-13 16:21:56 : TRACE : 51f0 : DrillClientImpl::connect: Resolve [host:
192.168.39.44, port:31010]
2015-Feb-13 16:21:56 : TRACE : 51f0 : DrillClientImpl::connect: connect to
drillbit [192.168.39.44:31010]
2015-Feb-13 16:21:56 : TRACE : 51f0 : validateHandShake
2015-Feb-13 16:21:56 : TRACE : 51f0 : defaultSchema =
2015-Feb-13 16:21:56 : TRACE : 51f0 : Sent handshake request message.
Coordination id: 520
2015-Feb-13 16:21:56 : TRACE : 51f0 : Utils::allocateBuffer [ 0241DFC8, size =
1024 ]
2015-Feb-13 16:21:56 : TRACE : 51f0 : Started new handshake wait timer with 5
seconds.
2015-Feb-13 16:21:56 : DEBUG : 51f0 : DrillClientImpl::recvHandshake: async
read waiting for server handshake response.
2015-Feb-13 16:21:56 : TRACE : 51f0 : Handshake Message: actual bytes read = 9
2015-Feb-13 16:21:56 : TRACE : 51f0 : DrillClientImpl::handleHandshake: Cancel
deadline timer.
2015-Feb-13 16:21:56 : TRACE : 51f0 : Handshake Deadline timer cancelled.
2015-Feb-13 16:21:56 : TRACE : 51f0 : Utils::freeBuffer [ 0241DFC8, size = 1024
]
Whereas with BOOST_ASIO_DISBLE_IOCP, the log is created but empty.
These happens when testing DSN in ODBC Administrator.
So I will go on with the second option: ifdef WIN32_SHUTDOWN_ON_TIMEOUT
> C++ Client. Fix timeout for 32-bit windows platform
> ----------------------------------------------------
>
> Key: DRILL-1219
> URL: https://issues.apache.org/jira/browse/DRILL-1219
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - C++
> Affects Versions: 0.4.0
> Reporter: Xiao Meng
> Assignee: Xiao Meng
> Priority: Minor
> Fix For: 0.9.0
>
> Attachments: DRILL-1219.1.patch.txt
>
>
> This one is separated from DRILL-1197. Socket cancel operation seems does not
> work for 32-bit windows platform.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)