Log at debug when re-preparing unrecognized stmts

This commit is contained in:
Tyler Hobbs
2013-10-31 14:44:10 -05:00
parent 28c5cf04db
commit cabcc9b6aa

View File

@@ -1804,6 +1804,8 @@ class ResponseFuture(object):
(current_keyspace, prepared_keyspace)))
return
log.debug("Re-preparing unrecognized prepared statement against host %s: %s",
self._current_host, prepared_statement.query_string)
prepare_message = PrepareMessage(query=prepared_statement.query_string)
# since this might block, run on the executor to avoid hanging
# the event loop thread