Possible data loss in block-storage relation
Bug #1422313 reported by
Jacek Nykis
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql (Juju Charms Collection) |
Fix Committed
|
High
|
Jacek Nykis |
Bug Description
If mysql charm receives persistent volume that contains old data it will cause DB damage there.
This is serious bug and can be replicated like this:
1. Deploy mysql DB
2. Add persistent storage using storage subordinate and block-storage-
3. Add a database, add some data
4. Destroy unit
5. Deploy new mysql service and get storage soburdinate to present it with the same volume as above
I wrote a fix that is available here:
https:/
Related branches
lp://staging/~jacekn/charms/trusty/mysql/mysql-storage-bugfix
- Chris Glass (community): Approve
- Nick Moffitt (community): Approve
- Review Queue (community): Approve (automated testing)
-
Diff: 21 lines (+11/-0)1 file modifiedhooks/common.py (+11/-0)
Changed in mysql (Juju Charms Collection): | |
importance: | Undecided → High |
assignee: | nobody → Jacek Nykis (jacekn) |
Changed in mysql (Juju Charms Collection): | |
status: | New → Fix Committed |
To post a comment you must log in.