Backups of databases fail when the backup size happens to be greater than 2GB

Bug #1224642 reported by Nikhil Manchanda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Critical
Nikhil Manchanda

Bug Description

When the compressed backup size is greater than 2GB, the max swift segment size is reached and the backup needs to be written over multiple swift segments. In this case, only the first segment gets written, along with the manifest. Since none of the subsequent segments are written, the backup is unusable and you cannot restore from it.

Changed in trove:
importance: Undecided → Critical
assignee: nobody → Nikhil Manchanda (slicknik)
milestone: none → icehouse-1
importance: Critical → High
Changed in trove:
milestone: icehouse-1 → havana-rc1
importance: High → Critical
status: New → Confirmed
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/46367

Changed in trove:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/46367
Committed: http://github.com/openstack/trove/commit/013c62dc53e0cf15f007796d39ce2a47769dd248
Submitter: Jenkins
Branch: master

commit 013c62dc53e0cf15f007796d39ce2a47769dd248
Author: Nikhil Manchanda <email address hidden>
Date: Thu Sep 12 14:46:15 2013 -0700

    Fixed backups so that they no longer fail when backup size is > 2GB

    Fixed backups to correctly write all segments to swift before writing the
    manifest. This enables backups of > 2GB to be written to swift.

    Change-Id: Ifc72465c4629c2b2eed775aac58509c60354be32
    Fixes: bug 1224642

Changed in trove:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/46399

Changed in trove:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (milestone-proposed)

Reviewed: https://review.openstack.org/46399
Committed: http://github.com/openstack/trove/commit/7f337fb6d09b4d43689e566580cc6221060e64c6
Submitter: Jenkins
Branch: milestone-proposed

commit 7f337fb6d09b4d43689e566580cc6221060e64c6
Author: Nikhil Manchanda <email address hidden>
Date: Thu Sep 12 14:46:15 2013 -0700

    Fixed backups so that they no longer fail when backup size is > 2GB

    Fixed backups to correctly write all segments to swift before writing the
    manifest. This enables backups of > 2GB to be written to swift.

    Change-Id: Ifc72465c4629c2b2eed775aac58509c60354be32
    Fixes: bug 1224642
    (cherry picked from commit 013c62dc53e0cf15f007796d39ce2a47769dd248)

Thierry Carrez (ttx)
Changed in trove:
milestone: havana-rc1 → 2013.2
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.