[
https://issues.apache.org/jira/browse/CASSANDRA-18418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Eriksson updated CASSANDRA-18418:
----------------------------------------
Epic Link: CASSANDRA-18330
> CEP-21 Dereference TableMetadata in simple partition builder
> ------------------------------------------------------------
>
> Key: CASSANDRA-18418
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18418
> Project: Cassandra
> Issue Type: Task
> Components: Transactional Cluster Metadata
> Reporter: Marcus Eriksson
> Assignee: Sam Tunnicliffe
> Priority: Normal
>
> In some places we retain static {{TableMetadata}} instances and use them to
> construct a {{PartitionUpdate}}. For instance, TraceKeyspace contains
> Sessions & Events static members which are created at startup when the
> current epoch is Epoch.EMPTY. These are later used to construct mutations
> when tracing is enabled and when the mutations are serialised and sent
> between replica & coordinator the epoch comparisons in PartitionUpdate
> deserializer trigger an IncompatibleSchemaException. Ultimately we should not
> expose static {{TableMetadata}} instances in this way.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]