[
https://issues.apache.org/jira/browse/CASSANDRA-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854013#action_12854013
]
Jonathan Ellis commented on CASSANDRA-827:
------------------------------------------
Hmm. Having it in two places seems worse than having it in DD.
+ DatabaseDescriptor.setTableDefinition(ksm);
+ SystemTable.initMetadata().setDefsVersion(newVersion);
The problem is it's not obvious to someone browsing that calling DD.sTD alone
will leave the system in an inconsistent state. Let's go with the DD-only code.
> Add hooks that recognize when system KS is updated.
> ---------------------------------------------------
>
> Key: CASSANDRA-827
> URL: https://issues.apache.org/jira/browse/CASSANDRA-827
> Project: Cassandra
> Issue Type: Sub-task
> Reporter: Gary Dusbabek
> Assignee: Gary Dusbabek
> Fix For: 0.7
>
> Attachments: v3-0001-remove-unused-JoinMessage.txt,
> v3-0002-Refactor-so-meta-mutations-can-be-serialized-and-moved.txt,
> v3-0003-move-ConfigurationException-to-its-own-class-file.txt,
> v3-0004-Gossip-metadata-version-and-request-updates.txt,
> v3-0005-thrift-changes.txt,
> v3-0006-switch-to-reading-schema-configuration-from-storage.txt,
> v3-0007-thrift-impl.txt, v3-0008-use-cfid-for-all-mutations.txt,
> v3-0009-move-defsVersion-management-into-SystemTable.txt
>
>
> Add hooks that recognize when system KS is updated.
> Figure out the best way to refresh the collections in DD, perform the adds,
> deletes, etc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.