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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to