You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Jason Man (JIRA)" <ji...@apache.org> on 2018/01/02 10:11:00 UTC

[jira] [Comment Edited] (IGNITE-6853) Cassandra cache store does not clean prepared statements cache when remove old cassandra session

    [ https://issues.apache.org/jira/browse/IGNITE-6853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265057#comment-16265057 ] 

Jason Man edited comment on IGNITE-6853 at 1/2/18 10:10 AM:
------------------------------------------------------------

The simple fix is to re-prepare the statement after recovering the connection.  PR available above with the fix.  Please review.  Thanks.


was (Author: jason.man@gmail.com):
PR available above with the fix.  Please review.  Thanks.

> Cassandra cache store does not clean prepared statements cache when remove old cassandra session
> ------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-6853
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6853
>             Project: Ignite
>          Issue Type: Bug
>          Components: cassandra
>    Affects Versions: 2.3
>            Reporter: Mikhail Cherkasov
>            Assignee: Jason Man
>              Labels: important
>             Fix For: 2.4
>
>
> Cassandra cache store does not clean prepared statements cache when remove old cassandra session which can lead to:
>  Prepared
> statement cluster error detected, refreshing Cassandra session
> com.datastax.driver.core.exceptions.InvalidQueryException: Tried to execute
> unknown prepared query : 0xcad5832309a512feeb602eec67408130. You may have
> used a PreparedStatement that was created with another Cluster instance.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)