xtrabackup issues a "FLUSH TABLES WITH READ LOCK" during a backup

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

Bug Description

By default, xtrabackup starts with the --suspend-at-end option, and lets it copy the InnoDB data files.

When xtrabackup finishes that, it executes FLUSH TABLES WITH READ LOCK. Then it begins copying the rest of the files.

The FLUSH TABLES WITH READ LOCK option is needed only for MyISAM tables, and if you are using only innodb tables, you're better off not making this call, and locking your tables unnecessarily.

summary: - xtrabackup locks innodb tables with "FLUSH TABLES WITH READ LOCK" at the
- end of a backup
+ xtrabackup issues a "FLUSH TABLES WITH READ LOCK" at the end of a backup
summary: - xtrabackup issues a "FLUSH TABLES WITH READ LOCK" at the end of a backup
+ xtrabackup issues a "FLUSH TABLES WITH READ LOCK" during a backup
Changed in trove:
assignee: nobody → Nikhil Manchanda (slicknik)
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/58062

Changed in trove:
status: New → In Progress
Changed in trove:
milestone: none → icehouse-1
Changed in trove:
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in trove:
milestone: icehouse-1 → icehouse-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/58062
Committed: http://github.com/openstack/trove/commit/f15038ec83c80d3eec154bd8ad1aafeab60d5634
Submitter: Jenkins
Branch: master

commit f15038ec83c80d3eec154bd8ad1aafeab60d5634
Author: Nikhil Manchanda <email address hidden>
Date: Fri Nov 22 14:34:58 2013 -0800

    Added ability to pass custom command-line options to backup runner

    Added a new DictOpt field "backup_runner_options" to the trove config
    Custom command-line options for the backup runner can be passed in
    through this

    Closes-Bug: 1253849

    Change-Id: I2ea45aa4899da4126776ef14a9cb2f0328a9e544

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: icehouse-2 → 2014.1
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.