Merge lp:~mariosplivalo/charms/trusty/percona-cluster/enable-binlogs into lp:~openstack-charmers-archive/charms/trusty/percona-cluster/next
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~mariosplivalo/charms/trusty/percona-cluster/enable-binlogs |
| Merge into: | lp:~openstack-charmers-archive/charms/trusty/percona-cluster/next |
| Prerequisite: | lp:~niedbalski/charms/trusty/percona-cluster/fix-1425528 |
| Diff against target: |
88 lines (+38/-1) 3 files modified
config.yaml (+11/-0) hooks/percona_hooks.py (+23/-1) templates/my.cnf (+4/-0) |
| To merge this branch: | bzr merge lp:~mariosplivalo/charms/trusty/percona-cluster/enable-binlogs |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| James Page | 2015-03-09 | Needs Fixing on 2015-03-31 | |
| Felipe Reyes (community) | 2015-03-09 | Needs Fixing on 2015-03-11 | |
| Edward Hope-Morley | 2015-03-09 | Pending | |
| Billy Olsen | 2015-03-09 | Pending | |
| Jorge Niedbalski | 2015-03-09 | Pending | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2015-10-14.
Description of the Change
This adds two charm configuration options - enable_binlogs and binlogs_path. Binlog_path defaults to /var/log/
| James Page (james-page) wrote : | # |
bzr merge lp:~mariosplivalo/charms/trusty/percona-cluster/enable-binlogs
...
Text conflict in hooks/charmhelp
1 conflicts encountered.
| Mario Splivalo (mariosplivalo) wrote : | # |
> bzr merge lp:~mariosplivalo/charms/trusty/percona-cluster/enable-binlogs
> ...
> Text conflict in hooks/charmhelp
> 1 conflicts encountered.
I belive this is because of the prerequisite branch that needs merging first.
| Mario Splivalo (mariosplivalo) wrote : | # |
Based on discussion with Ed, this will be changed in a manner so that a new function is introduced, 'configure_
It will also be called from config_changed hook, but it won't restart mysql - it will log a WARNING inside logs to tell administrator/
- 59. By Mario Splivalo on 2015-10-16
-
Isolate creation of binlog directory into a separate function
- 60. By Mario Splivalo on 2015-10-18
-
Merged /next
- 61. By Mario Splivalo on 2015-12-03
-
Conflicts resolved (work from another workstation)
Unmerged revisions
- 61. By Mario Splivalo on 2015-12-03
-
Conflicts resolved (work from another workstation)
- 60. By Mario Splivalo on 2015-10-18
-
Merged /next
- 59. By Mario Splivalo on 2015-10-16
-
Isolate creation of binlog directory into a separate function
- 58. By Mario Splivalo on 2015-10-09
-
Merged from /next
- 57. By Mario Splivalo on 2015-03-12
-
Fixed typos, as suggested by freyes
- 56. By Mario Splivalo on 2015-03-12
-
Fix lint errors
- 55. By Mario Splivalo on 2015-03-06
-
Remove call to lchownr as it won't change owner of the base directory.
Instead, use os.chown. - 54. By Mario Splivalo on 2015-03-06
-
Fix directory creation
- 53. By Mario Splivalo on 2015-03-05
-
Make sure mysql can start even when binlog_path is pointing to
nonexistant path - 52. By Mario Splivalo on 2015-03-04
-
Create binlog_directory, if missing

Hi Mario,
This feature makes a lot of sense, and it worked for me, but please add unit tests for your patch, I also have minor comments in the diff.
Thanks,