[Hawkular-commits] [hawkular/hawkular-metrics] e386f2: [HWKMETRICS-637] Wait for entire C* cluster to be ...
Stefan Negrea
stefannegrea at github.map.fastly.net
Fri Mar 31 16:38:09 EDT 2017
Branch: refs/heads/master
Home: https://github.com/hawkular/hawkular-metrics
Commit: e386f265545461cd18797c660b8f274a02b2fdb3
https://github.com/hawkular/hawkular-metrics/commit/e386f265545461cd18797c660b8f274a02b2fdb3
Author: John Sanda <jsanda at redhat.com>
Date: 2017-03-31 (Fri, 31 Mar 2017)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
A api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/util/CassandraClusterNotUpException.java
M api/metrics-api-util/src/main/java/org/hawkular/metrics/api/jaxrs/config/ConfigurationKey.java
Log Message:
-----------
[HWKMETRICS-637] Wait for entire C* cluster to be up for schema updates
In OpenShift, Hawkular may start before Cassandra. We already have checks in
place in start up code to wait until we connect to Cassandra. Things get more
complicated though with multiple C* nodes. If we have nodes A and B, only A is
up, we connection, and start trying to apply schema updates. Some updates may
fail if they target node B. This also assume replicaiton_factor = 1 since we do
not support anything else right now. The schema update will fail, start up
fails, and then the hawkular pod goes into a restart loop.
This commit changes start up logic so that we wait until all nodes are up
before we attempt to apply schema updates.
Commit: 11598825974b6e5e8d6152d2647c2d35c1b27bd0
https://github.com/hawkular/hawkular-metrics/commit/11598825974b6e5e8d6152d2647c2d35c1b27bd0
Author: John Sanda <jsanda at redhat.com>
Date: 2017-03-31 (Fri, 31 Mar 2017)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/util/CassandraClusterNotUpException.java
Log Message:
-----------
[HWKMETRICS-637] license header
Commit: 61e91024e00d095e9b74550193c6c441700887b8
https://github.com/hawkular/hawkular-metrics/commit/61e91024e00d095e9b74550193c6c441700887b8
Author: Stefan Negrea <stefannegrea at users.noreply.github.com>
Date: 2017-03-31 (Fri, 31 Mar 2017)
Changed paths:
M api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
A api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/util/CassandraClusterNotUpException.java
M api/metrics-api-util/src/main/java/org/hawkular/metrics/api/jaxrs/config/ConfigurationKey.java
Log Message:
-----------
Merge pull request #790 from jsanda/hwkmetrics-637
[HWKMETRICS-637] Wait for entire C* cluster to be up for schema updates
Compare: https://github.com/hawkular/hawkular-metrics/compare/9d4b233c346f...61e91024e00d
More information about the hawkular-commits
mailing list