drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Meng" <xiaom...@gmail.com>
Subject Review Request 27926: DRILL-1697. C++ Client. Use the object io_service::work to prevent io_service running out of work.
Date Wed, 12 Nov 2014 20:55:39 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27926/
-----------------------------------------------------------

Review request for drill and Parth Chandra.


Bugs: DRILL-1697
    https://issues.apache.org/jira/browse/DRILL-1697


Repository: drill-git


Description
-------

- Deleting the `work` object to permit the io_service to exit.
- Also reset `io_service` before submitting query.


Diffs
-----

  contrib/native/client/src/clientlib/drillClientImpl.hpp 8e2f437 
  contrib/native/client/src/clientlib/drillClientImpl.cpp cc70020 

Diff: https://reviews.apache.org/r/27926/diff/


Testing
-------

Observed from the ODBC driver:

-The driver may not consume the second query if there is time lag and io_service stopped.


Thanks,

Xiao Meng


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message