Recently we began to use prepared requests. Everything works fine, requests preparing and executing correctly.
The problem is when cassandra node is restarted, the driver throws an error when trying to re-prepare previously prepared and executed request.
The error says that we haven't specified keyspace for the request, but it was specified for the whole session. And somehow the driver was able to execute the query in the first place.
At the same time, it seems that everything is OK. Maybe because prepared statement was still in Cassandra's cache even after restart (I didn't know that):