Changes between Initial Version and Version 3 of Ticket #5251
- Timestamp:
- Oct 23, 2009 4:29:25 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5251
- Property Priority minor → major
-
Ticket #5251 – Description
initial v3 1 1 When using a windows xp host and a linux guest (debian/testing 2.6.30.2) using shared folders, there is a slight delay after a file is deleted until it really is deleted, leading to a race condition. This becomes visible when using `svnadmin load`, which creates transaction files in a directory and deletes them at the end: 2 3 --- 4 2 {{{ 5 3 01 open("secureusbstick/db/transactions/0-0.txn", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4 6 7 4 02 fstat64(4, {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0 8 9 5 03 fcntl64(4, F_GETFD) = 0x1 (flags FD_CLOEXEC) 10 11 6 04 getdents64(4, /* 5 entries */, 4096) = 144 12 13 05 lstat64("secureusbstick/db/transactions/0-0.txn/.", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0 14 7 05 lstat64("secureusbstick/db/transactions/0-0.txn/.", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0 15 8 06 lstat64("secureusbstick/db/transactions/0-0.txn/..", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0 16 17 9 07 lstat64("secureusbstick/db/transactions/0-0.txn/changes", {st_mode=S_IFREG|0777, st_size=0, ...}) = 0 18 19 10 08 unlink("secureusbstick/db/transactions/0-0.txn/changes") = 0 20 21 11 09 lstat64("secureusbstick/db/transactions/0-0.txn/next-ids", {st_mode=S_IFREG|0777, st_size=4, ...}) = 0 22 23 12 10 unlink("secureusbstick/db/transactions/0-0.txn/next-ids") = 0 24 25 13 11 lstat64("secureusbstick/db/transactions/0-0.txn/node.0.0", {st_mode=S_IFREG|0777, st_size=140, ...}) = 0 26 27 14 12 unlink("secureusbstick/db/transactions/0-0.txn/node.0.0") = 0 28 29 15 13 getdents64(4, /* 0 entries */, 4096) = 0 30 31 16 14 lseek(4, 0, SEEK_SET) = 0 32 33 17 15 getdents64(4, /* 5 entries */, 4096) = 144 34 35 18 16 lstat64("secureusbstick/db/transactions/0-0.txn/.", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0 36 37 19 17 lstat64("secureusbstick/db/transactions/0-0.txn/..", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0 38 39 20 18 lstat64("secureusbstick/db/transactions/0-0.txn/changes", 0xbfc9faf0) = -1 ENOENT (No such file or directory) 40 41 21 19 close(4) = 0 42 43 --- 22 }}} 44 23 45 24 The directory is opened at line 01, on line 04 the contents are retrieved (3 files, and the directories . and ..).