Merge lp:~roadmr/charms/trusty/elasticsearch/es2-charm-retry-harder into lp:~onlineservices-charmers/charms/trusty/elasticsearch/elasticsearch2
Status: | Needs review |
---|---|
Proposed branch: | lp:~roadmr/charms/trusty/elasticsearch/es2-charm-retry-harder |
Merge into: | lp:~onlineservices-charmers/charms/trusty/elasticsearch/elasticsearch2 |
Diff against target: |
16 lines (+5/-1) 1 file modified
tasks/peer-relations.yml (+5/-1) |
To merge this branch: | bzr merge lp:~roadmr/charms/trusty/elasticsearch/es2-charm-retry-harder |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Canonical Onlineservices charmers | Pending | ||
Review via email: mp+319497@code.launchpad.net |
Commit message
Retry a few times while checking if unit joined the cluster.
Instead of just pausing for 30 seconds, which in practice sometimes
doesn't give enough time for the new unit to join the cluster,
poke the cluster health every 15 seconds, a maximum of 6 times (total
wait time: 90 seconds) but continue if we see a successful join at any
retry. Should be more responsive to early joins while more resilient to slow
joins.
Description of the change
Retry a few times while checking if unit joined the cluster.
Instead of just pausing for 30 seconds, which in practice sometimes
doesn't give enough time for the new unit to join the cluster,
poke the cluster health every 15 seconds, a maximum of 6 times (total
wait time: 90 seconds) but continue if we see a successful join at any
retry. Should be more responsive to early joins while more resilient to slow
joins.
Unmerged revisions
- 46. By Daniel Manrique
-
Retry a few times while checking if unit joined the cluster.
Instead of just pausing for 30 seconds, which in practice sometimes
doesn't give enough time for the new unit to join the cluster,
poke the cluster health every 15 seconds, a maximum of 6 times (total
wait time: 90 seconds) but continue if we see a successful join at any
retry. Should be more responsive to early joins while more resilient to slow
joins.