← Back to team overview

holland-coredev team mailing list archive

[Bug 1235385] Re: mysqldump-lvm does not support federated

 

** Changed in: holland-backup
       Status: New => Triaged

** Changed in: holland-backup
   Importance: Undecided => High

** Changed in: holland-backup
     Assignee: (unassigned) => Andrew Garner (muzazzi)

** Changed in: holland-backup
    Milestone: None => 1.0.12

-- 
You received this bug notification because you are a member of Holland
Build, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/1235385

Title:
  mysqldump-lvm does not support federated

Status in Holland Backup Framework:
  Triaged

Bug description:
  If there are one or more federated tables, mysqldump-lvm will fail on
  invoking mysqldump with an error along the lines of:

  /usr/bin/mysqldump[14494]: mysqldump: Couldn't execute 'show create
  table `fed_test`': Unknown storage engine 'FEDERATED' (1286)

  Or:

  /usr/bin/mysqldump[13866]: mysqldump: Got error: 1286: Unknown storage
  engine 'FEDERATED' when using LOCK TABLES

  This is due to federated not being enabled on the temporary instance
  running on the snapshot.

  This is currently done to avoid accidentally writing to files used by
  the production instance - so the snapshot instance generates a
  minimally "safe" config - injecting any custom innodb options as
  necessary.  This can be fixed by enabling federated (e.g. adding
  loose-federated to the generated my.cnf) - but there are probably
  other cases where a more general solution is needed.

  I think it makes sense to just add some mysqld-opts = to the [mysqld]
  section to customize the commandline options.   Also, being able to
  include some custom my.cnf or specify other key=value options may be
  useful as well - injecting arbitrary key/value options into the my.cnf
  is already supported in the amsterdam branch although not exposed to
  the end-user.

To manage notifications about this bug go to:
https://bugs.launchpad.net/holland-backup/+bug/1235385/+subscriptions


References