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