Avoiding too many open files in a fast fail way
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
New
|
Undecided
|
Unassigned |
Bug Description
For bug https:/
This issue is amplified in cloud or multi tenant environment for which there may be many mysqld instances in one host.
There is a `--close-files` option which will not keep files opened if specified, but this can lead to corrupt backup.
As Alexey described in bug#1183322
> 1. it can detect a renamed tablespace if at the time it has to open it for copying the space ID from first page (or inode from the filesystem, it doesn't matter) doesn't match space ID or inode this tablespace had at the time when the list of files was created. So detecting such conditions is the easy part.
Detecting ibd space id mismatch can be easily implemented.
I think PXB can add such detecting logic and failed if space id mismatch encountered. For cloud environment backup failure is OK, just try again.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXB-1492