-
Committer:
Alexey Kopytov
-
Date:
2012-05-23 17:06:52 UTC
-
Revision ID:
akopytov@gmail.com-20120523170652-4jqpktg2fjtlfoyr
Bug #1003518: innobackupex does not copy back table files in subfolders
from NFS mount
The problem was that File::Find does not work correctly due to a
sub-directory count optimization for some broken filesystems, in
particular, Windows filesystems. Normally, File::Find detects such
filesystems automatically and disables the optimization. However, when
such a filesystem is mounted over NFS, autodetection apparently fails.
Fixed by disabling the optimization so that File::Find uses a slower
stat() method to count subdirectories. The slowdown should be negligible
for --copy-back purposes.