From cabcc9b6aa2860cf04eeded660b4dc1b47f054eb Mon Sep 17 00:00:00 2001 From: Tyler Hobbs Date: Thu, 31 Oct 2013 14:44:10 -0500 Subject: [PATCH] Log at debug when re-preparing unrecognized stmts --- cassandra/cluster.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cassandra/cluster.py b/cassandra/cluster.py index a2e72905..a554aa3a 100644 --- a/cassandra/cluster.py +++ b/cassandra/cluster.py @@ -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