[ 
https://issues.apache.org/jira/browse/CASSANDRA-18418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Eriksson updated CASSANDRA-18418:
----------------------------------------
    Change Category: Semantic
         Complexity: Normal
        Component/s: Transactional Cluster Metadata
          Reviewers: Alex Petrov, Marcus Eriksson
           Assignee: Sam Tunnicliffe
             Status: Open  (was: Triage Needed)

https://github.com/beobal/cassandra/commit/7570d9d2e64c4ac34a151d22f06e56d23e83d96d

> 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]

Reply via email to