Parth Chandra created DRILL-1442:
------------------------------------

             Summary: C++ Client - Synchronous API appears to hang when running 
many queries in parallel
                 Key: DRILL-1442
                 URL: https://issues.apache.org/jira/browse/DRILL-1442
             Project: Apache Drill
          Issue Type: Bug
          Components: Client - C++
    Affects Versions: 0.5.0
            Reporter: Parth Chandra


The C++ client library has a synchronous version that allows a client 
application to submit multiple queries asynchronously but retrieve results in 
synchronously.
A situation may occur where the application may submit several large queries 
and then choose to process the results of the last submitted query first. In 
this case the client library buffers up the results of the first few queries 
and may hit  its memory allocation limit before the last queries results are 
retrieved. 
The client app then deadlocks as the last query waits for more memory and the 
first few queries wait for the app to consume the results.
Technically this would qualify as a client application bug, but the client 
library should prevent or break the deadlock if it can.
At the vary least, the querySubmitter example program should not suffer from 
this issue.






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to