cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-2715) simplify schema reconciliation
Date Fri, 27 May 2011 02:57:47 GMT


Jonathan Ellis updated CASSANDRA-2715:

    Attachment: 2715.txt

announce() becomes a direct "send this migration to the rest of the cluster."

DefinitionsAnnnounceVerbHandler goes away, and DefinitionsUpdateResponse becomes DefinitionsUpdate.

> simplify schema reconciliation
> ------------------------------
>                 Key: CASSANDRA-2715
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7.0
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.7, 0.8.1
>         Attachments: 2715.txt
> Currently, schema migrations can be replayed from one node to another in any of three
> - a node processes a migration from a client, and pushes it to all live nodes (Migration.announce
on the source)
> - a node sees that another node's schema version is older than his (MigrationManager.onChange
on the source)
> - a node sees that his own schema version is older than another's and makes an explicit
request (MigrationManager.onChange on the target, DefinitionsAnnounceVerbHandler on the source)
> The last of these is an optimization that isn't worth the extra complexity -- under normal
conditions, the initial announce from the coordinator updates everyone, and in recovery situations
the latency gain of #3 over #2 is only a few seconds.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message