Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare query again when expired from the server #35

Merged
merged 1 commit into from
Nov 20, 2013

Conversation

suguru
Copy link
Contributor

@suguru suguru commented Nov 20, 2013

When I got unprepared error, the driver continue to fail because query caches are still in client.preparedQueries.

I got below error when queries evicted from cassandra.

ResponseError: Prepared query with ID 47254fc9ab8211a7eec66ad761dbaf7e not found (either the query was not prepared on this host (maybe the host has been restarted?) or you have prepared too many queries and it has been evicted from the internal cache)

@jorgebay jorgebay merged commit 98b840f into jorgebay:master Nov 20, 2013
@jorgebay
Copy link
Owner

Added a (lame) test, it is not easy to create a test for this case...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants