Not returning CASS_ERROR_LIB_REQUEST_TIMED_OUT error after nodetool disablebinary

10 views
Skip to first unread message

Megh Bhatt

unread,
Nov 22, 2016, 6:03:29 PM11/22/16
to DataStax C++ Driver for Apache Cassandra User Mailing List
Hello,
We are using c++ driver - 2.2.0 and using async queries including prepared statements. We are writing at RF 2, CL LOCAL_ONE. It seems that when the cassandra node CQL port is shut dow using nodetool disable binary, the async callback is always returning CASS_ERROR_LIB_NO_HOSTS_AVAILABLE error instead of WRITE_TIMEOUT/REQUES_TIMED_OUT. The LIB_NO_HOSTS_AVAILABLE is also returned under stress scenarios and so we cannot distinguish between these 2 cases.

Thanks

Megh

Reply all
Reply to author
Forward
0 new messages