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

C++ connector connect doesn't check handshake result for timeout

    XMLWordPrintableJSON

Details

    Description

      The C++ connector connect methods returns okay as soon as the tcp connection is succesfully established between client and server, and the handshake message is sent. However it doesn't wait for handshake to have completed.

      The consequence is that if handshake failed, the error is deferred to the first query, which might be unexpected by the application.

      I believe that validateHanshake method in drillClientImpl should wait for the handshake to complete, as it seems a bit more saner...

      Attachments

        Issue Links

          Activity

            People

              sudheeshkatkam Sudheesh Katkam
              laurent Laurent Goujon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: