You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (Jira)" <ji...@apache.org> on 2023/04/03 08:36:00 UTC
[jira] [Created] (CASSANDRA-18418) CEP-21 Dereference TableMetadata in simple partition builder
Marcus Eriksson created CASSANDRA-18418:
-------------------------------------------
Summary: 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
Reporter: Marcus Eriksson
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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org