[
https://issues.apache.org/jira/browse/CASSANDRA-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039926#comment-13039926
]
Hudson commented on CASSANDRA-2714:
-----------------------------------
Integrated in Cassandra-0.7 #498 (See
[https://builds.apache.org/hudson/job/Cassandra-0.7/498/])
throttle migration replay
patch by jbellis; reviewed by gdusbabek for CASSANDRA-2714
jbellis :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1128074
Files :
* /cassandra/branches/cassandra-0.7/CHANGES.txt
*
/cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/db/migration/Migration.java
*
/cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/MigrationManager.java
> Throttle migration replay
> -------------------------
>
> Key: CASSANDRA-2714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2714
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.7.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 0.7.7, 0.8.1
>
> Attachments: 2714-v2.txt, 2714.txt
>
>
> As reported on the mailing list,
> {noformat}
> - I have a lot of schema updates (there are 2067 rows in the system.Schema
> CF).
> - The live node loads migrations 1-1000, and sends them to the recovering
> node (Migration.getLocalMigrations())
> - Soon afterwards, the live node checks the schema version on the recovering
> node and finds it has moved by a little - say it has applied the first 3
> migrations. It then loads migrations 3-1003, and sends them to the node.
> - This process is repeated very quickly (sends migrations 6-1006, 9-1009,
> etc).
> {noformat}
> The source of the problem is that MigrationManager.onChange will send out a
> full (up to 1000 migrations) replay, every time the target's schema version
> changes.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira