We're updating the issue view to help you get more done. 

Handle prepared id mismatch when repreparing on the fly

Description

CASSANDRA-15252: if you switched keyspace after a statement was prepared, and the statement needs to get reprepared on the fly, the id doesn't match and the driver goes into a reprepare loop.

We're adding a check to fail fast in the driver:

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Michael Penick

Labels

None

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Priority

Major