So not sure if this is related to some of the fixes that have come in later versions of the driver, but the following situation happened for me.
On start up of my application, I connect to Cassandra, then perform some schema operations (creating new tables, new columns in tables, etc).
My application was trying to come up at the same time Cassandra was starting.
So at first, I get a bunch of connection errors as expected:
"Failed to connect using the driver. ('No hosts available for the control connection'"
Eventually my application got a connection and then did some schema changes (added a column to a table) which succeeded.
It then added another column to a different table and appears to have hung.
I see the following error messages 13 seconds after attempting to perform the CQL to alter a table and add a column.
[ERROR] (src/error_response.cpp:55:bool cass::check_error_or_invalid_response(const string&, uint8_t, cass::Response*)): SchemaChangeHandler: Error response: 'Operation timed out - received only 0 responses.' (0x02001200)
[ERROR] (src/error_response.cpp:55:bool cass::check_error_or_invalid_response(const string&, uint8_t, cass::Response*)): SchemaChangeHandler: Error response: 'Operation timed out - received only 0 responses.' (0x02001200)
I am using the async driver interface, and my async driver call basically never returned into the context of my callback.
--
You received this message because you are subscribed to the Google Groups "DataStax C++ Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpp-driver-us...@lists.datastax.com.