Merge lp:~clint-fewbar/charms/precise/mysql/fix-db-relation-idempotency into lp:charms/mysql
Proposed by
Clint Byrum
Status: | Merged |
---|---|
Merged at revision: | 87 |
Proposed branch: | lp:~clint-fewbar/charms/precise/mysql/fix-db-relation-idempotency |
Merge into: | lp:charms/mysql |
Prerequisite: | lp:~clint-fewbar/charms/precise/mysql/fix-master-hooks |
Diff against target: |
155 lines (+35/-36) 5 files modified
hooks/common.py (+13/-9) hooks/db-relation-joined (+11/-24) hooks/master-relation-changed (+3/-2) hooks/upgrade-charm (+7/-0) revision (+1/-1) |
To merge this branch: | bzr merge lp:~clint-fewbar/charms/precise/mysql/fix-db-relation-idempotency |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
charmers | Pending | ||
Review via email: mp+132630@code.launchpad.net |
Description of the change
Often when one removes/adds the db relations from mysql, the add fails to work because the joined hook considers an existing database a reason to not do grants/
To post a comment you must log in.
Note that this was retracted the first time a bit while I figured out a better scheme.