mariadb incremental backup not working

Bug #1679308 reported by Jose Arthur Benetasso Villanova
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
In Progress
Medium
Unassigned

Bug Description

Version:
openstack-trove-guestagent-6.0.1-0.20161130143308.6907ba8.el7.centos.noarch
python2-troveclient-2.5.0-1.el7.noarch
openstack-trove-common-6.0.1-0.20161130143308.6907ba8.el7.centos.noarch
python-trove-6.0.1-0.20161130143308.6907ba8.el7.centos.noarch

Action:
Create a backup incremental from a full backup

Expect output:
backup incremental

Output:
backup full

Reproducible:
Always

Steps to reproduce:
Configure a MariaDB Guest.
Create a full backup
Create an incremental backup based on full backup
Check backup size

Revision history for this message
Jose Arthur Benetasso Villanova (jose-arthur) wrote :
Revision history for this message
Jose Arthur Benetasso Villanova (jose-arthur) wrote :

Workaround:
In guest:
/etc/trove/conf.d/trove-guestagent.conf

[mariadb]
backup_namespace = trove.guestagent.strategies.backup.mysql_impl
backup_strategy = InnoBackupExIncremental

restore_namespace = trove.guestagent.strategies.restore.mysql_impl
restore_strategy = InnoBackupExIncremental

Revision history for this message
Amrith Kumar (amrith) wrote :

This appears to be a configuration issue.

Changed in trove:
status: New → Won't Fix
status: Won't Fix → Invalid
Revision history for this message
Jose Arthur Benetasso Villanova (jose-arthur) wrote :

Although you can adapt the configuration since MariaDB and MySQL are similar databases, the default implementation (MariaDBInnoBackupExIncremental) doesnt inherits the incremental implementation from InnoBackupExIncremental as attached diagram.

Amrith Kumar (amrith)
Changed in trove:
status: Invalid → Confirmed
importance: Undecided → Medium
Changed in trove:
assignee: nobody → Jose Arthur Benetasso Villanova (jose-arthur)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/458609

Changed in trove:
status: Confirmed → In Progress
Changed in trove:
assignee: Jose Arthur Benetasso Villanova (jose-arthur) → Amrith Kumar (amrith)
Amrith Kumar (amrith)
Changed in trove:
assignee: Amrith Kumar (amrith) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.