~percona-dev/percona-xtrabackup/ib_extralsn

Viewing all changes in revision 221.

  • Committer: Alexey Kopytov
  • Date: 2011-02-12 17:12:50 UTC
  • Revision ID: akopytov@gmail.com-20110212171250-yy8sqjpbd2yuf81i
LP bug #717784: Race condition in directory creation with parallel
                backups

Trying to check if directory exists before calling mkdir() is not safe
with multiple copying threads. 

The fix is to try to create a directory without any checks instead and
then ignore the EEXIST error.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: