Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Availability - Unavailable
-
Normal
-
Normal
-
Unit Test
-
Description
When sidecar reconnects, the prepared statements were still associated with the previous session instance, causing all SidecarSchema related operations to fail.
Tried to execute unknown prepared query : 0x38663cebc0a18b444860e0439a814e38. You may have used a PreparedStatement that was created with another Cluster instance. com.datastax.driver.core.exceptions.InvalidQueryException: Tried to execute unknown prepared query : 0x38663cebc0a18b444860e0439a814e38. You may have used a PreparedStatement that was created with another Cluster instance. at com.datastax.driver.core.SessionManager.makeRequestMessage(SessionManager.java:640) at com.datastax.driver.core.SessionManager.executeAsync(SessionManager.java:141) at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:58) at org.apache.cassandra.sidecar.db.DatabaseAccessor.execute(DatabaseAccessor.java:72) at org.apache.cassandra.sidecar.db.RestoreJobDatabaseAccessor.create(RestoreJobDatabaseAccessor.java:106)
Attachments
Issue Links
- links to