Branch: refs/heads/release/0.29.0
Home:
https://github.com/hawkular/hawkular-metrics
Commit: 81b04adf42f773d33425f7ef1347bc514e0c3e34
https://github.com/hawkular/hawkular-metrics/commit/81b04adf42f773d33425f...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-08-07 (Tue, 07 Aug 2018)
Changed paths:
M
core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccessImpl.java
Log Message:
-----------
[HWKMETRICS-797] wait for schema agreement before preparing queries (#989)
* [HWKMETRICS-797] wait for schema agreement before preparing queries
* [HWKMETRICS-797] query system.peers on all nodes
Do a token range scan to query system.peers on all nodes so that we can
determine the schema versions that every node knows about.
* [HWKMETRICS-797] replace schema version token scan with simple retry logic
The previous commit introduced a token range scan over the system.peers
table in order to determine when there is schema convergence. That
approach is complicated and does not cover some corner cases. It is
simpler to retry preparing statements after some delay until it
succeeds.
* [HWKMETRICS-797] adjust logging based on review
Commit: 4993305d1747aed56d47f2d9df6431943215757e
https://github.com/hawkular/hawkular-metrics/commit/4993305d1747aed56d47f...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2018-08-07 (Tue, 07 Aug 2018)
Changed paths:
M
core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccessImpl.java
Log Message:
-----------
Merge pull request #990 from rubenvp8510/BZ-1606771
[HWKMETRICS-797] wait for schema agreement before preparing queries (…
Compare:
https://github.com/hawkular/hawkular-metrics/compare/c19548e4102e...49933...
**NOTE:** This service has been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from
GitHub.com on January 31st, 2019.