cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-827) Add hooks that recognize when system KS is updated.
Date Tue, 06 Apr 2010 14:58:33 GMT


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:
>             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,

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message