Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't check cluster health when there are no schema changes. #37

Merged
merged 1 commit into from
Sep 1, 2016

Conversation

lukaszgielecinski
Copy link

The change we propose is to only require that all nodes are up if cqlmigrate needs to make any changes at all i.e. creating the keyspace, creating the schema migration table and any application specific migrations that have not been applied (determined by querying schema_migrations table)

At the point we determine that a change is needed, the ClusterHealth.check() would be invoked and if this fails the cqlmigrate would abort.

These are the changes agreed in #36

@adamdougal
Copy link
Contributor

lgtm!

@adrianmkng adrianmkng merged commit a192a7a into master Sep 1, 2016
@adrianmkng adrianmkng deleted the cluster_health_check_when_schema_changes branch September 1, 2016 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants