Merge lp:~thedac/charm-helpers/legacy_leadership_peer_retrieve_fix into lp:charm-helpers
Proposed by
David Ames
Status: | Work in progress |
---|---|
Proposed branch: | lp:~thedac/charm-helpers/legacy_leadership_peer_retrieve_fix |
Merge into: | lp:charm-helpers |
Diff against target: |
31 lines (+10/-1) 1 file modified
charmhelpers/contrib/peerstorage/__init__.py (+10/-1) |
To merge this branch: | bzr merge lp:~thedac/charm-helpers/legacy_leadership_peer_retrieve_fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
charmers | Pending | ||
Review via email: mp+269400@code.launchpad.net |
Description of the change
Fixes clustering race condition LP Bug#1486177 for juju versions < 1.24
Use remote_unit() in relation_get when in a native cluster relation hook
To post a comment you must log in.
Unmerged revisions
- 434. By David Ames
-
Fix Bug#1486177
Handle legacy leadership peer_retrieve
relation_get needs to use remote unit in a native cluster relation hook but local unit in a non-cluster relation hook as the remote unit is not a part of the cluster relation
Just noting that this MP is pre-requisite for https:/ /code.launchpad .net/~thedac/ charms/ trusty/ rabbitmq- server/ native- cluster- race-fixes/ +merge/ 269395 but is also pending test completion there.
Thank you for your work on this!