[
https://issues.apache.org/jira/browse/CASSANDRA-20116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sam Tunnicliffe updated CASSANDRA-20116:
----------------------------------------
Status: Ready to Commit (was: Review In Progress)
+1, nice catch.
> Avoid prepared statement invalidation race when committing schema changes
> -------------------------------------------------------------------------
>
> Key: CASSANDRA-20116
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20116
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Transactional Cluster Metadata
> Reporter: Marcus Eriksson
> Assignee: Marcus Eriksson
> Priority: Normal
> Fix For: 5.x
>
> Attachments: ci_summary.html
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We currently invalidate the prepared statement cache before making the schema
> change “live", creating a small window where we might re-prepare a statement
> with the old schema. This causes us to use the wrong epoch when coordinating
> a request, making replicas think the coordinator is behind and failing the
> request until the node is bounced (or prepared statement cache invalidated)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]