[ https://issues.apache.org/jira/browse/CASSANDRA-9712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649997#comment-14649997 ]
Aleksey Yeschenko commented on CASSANDRA-9712: ---------------------------------------------- Pushed another commit that's another step to {{CFMetaData}} immutability to the same [branch|https://github.com/iamaleksey/cassandra/commits/9712]. It moves all the attributes into an immutable {{TableParams}} class, in a similar way that {{KeyspaceParams}} work. The reference to it in {{CFMetaData}} is mutable, for the time being. One exception - currently - is {{CompactionParams}}, which is still mutable. CASSANDRA-7978 makes making it fully immutable a bit hard, so I'm leaving that work to CASSANDRA-9839 instead. cassci dtest and testall to be available at the same urls as before. > Refactor CFMetaData > ------------------- > > Key: CASSANDRA-9712 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9712 > Project: Cassandra > Issue Type: Improvement > Reporter: Aleksey Yeschenko > Assignee: Aleksey Yeschenko > Fix For: 3.x > > > As part of CASSANDRA-9425 and a follow-up to CASSANDRA-9665, and a > pre-requisite for new schema change protocol, this ticket will do the > following > 1. Make the triggers {{HashMap}} immutable (new {{Triggers}} class) > 2. Allow multiple 2i definitions per column in CFMetaData > 3. <to be filled in> > 4. Rename and move {{config.CFMetaData}} to {{schema.TableMetadata}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)