Merge lp:~hloeung/ubuntu-repository-cache/dont-disable-unit-on-failover-or-pause into lp:ubuntu-repository-cache
Proposed by
Haw Loeung
Status: | Merged |
---|---|
Approved by: | Haw Loeung |
Approved revision: | 326 |
Merged at revision: | 326 |
Proposed branch: | lp:~hloeung/ubuntu-repository-cache/dont-disable-unit-on-failover-or-pause |
Merge into: | lp:ubuntu-repository-cache |
Diff against target: |
99 lines (+16/-24) 2 files modified
lib/ubuntu_repository_cache/apache.py (+0/-5) tests/unit/test_apache.py (+16/-19) |
To merge this branch: | bzr merge lp:~hloeung/ubuntu-repository-cache/dont-disable-unit-on-failover-or-pause |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Collins | lgtm | Approve | |
Canonical IS Reviewers | Pending | ||
Review via email: mp+399254@code.launchpad.net |
Commit message
Don't set health-
On non-leader units, metadata sync calls service.pause() which then
calls this. This causes a brief period where the unit is disabled and
not serving requests. It's useful for initial unit provisioning but
not so on a fully functional unit where metadata points to an existing
copy on disk.
NOTE: The setting of health-
Description of the change
Seems only happening in gce-us-central1 where it has a large no. of u-r-c units compared to all the others (that or metadata sync between them takes longer).
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.