Nick Craig-Wood
9c86759076
operations: fix partial name collisions for non --inplace copies
...
In this commit:
c63f1865f36058e1 operations: copy: generate stable partial suffix
We made the partial suffix for non inplace copies stable. This was a
hash based off the file fingerprint.
However, given a directory of files which have the same fingerprint
the partial suffix collides. On some backends (eg the local backend)
the fingerprint is just the size and modification time so files with
different contents can collide.
The effect of collisions was hash failures on copy when using
--transfers > 1. These copies invariably retried successfully which
probably explains why this bug hasn't been reported.
This fixes the problem by adding the file name to the hash.
It also makes sure the hash is always represented as 8 hex bytes for
consistency.
2025-02-01 11:20:15 +00:00
..
2025-01-11 20:25:34 +00:00
2022-11-07 11:41:47 +00:00
2025-01-15 16:32:59 +00:00
2024-08-14 21:13:09 +01:00
2022-08-09 12:57:38 +01:00
2024-12-13 11:34:11 +00:00
2023-07-03 14:09:21 +01:00
2024-04-18 16:53:55 +02:00
2024-09-06 17:04:18 +01:00
2024-04-22 19:29:12 +02:00
2025-01-16 10:39:01 +01:00
2024-04-18 16:53:55 +02:00
2024-09-06 17:04:18 +01:00
2025-01-22 11:56:05 +00:00
2024-09-06 17:04:18 +01:00
2024-06-12 16:39:30 +01:00
2024-09-30 17:20:42 +01:00
2025-01-16 10:39:01 +01:00
2025-02-01 11:20:15 +00:00
2025-01-15 16:32:59 +00:00
2025-01-22 11:56:05 +00:00
2024-09-30 17:20:42 +01:00
2021-05-14 14:07:44 +01:00
2023-03-25 12:51:04 +01:00
2024-07-15 11:09:54 +01:00
2023-10-23 15:43:55 +01:00
2024-07-17 11:04:01 +01:00
2024-07-17 11:04:01 +01:00
2018-08-21 10:58:59 +01:00
2019-02-07 11:57:26 +00:00
2023-03-26 14:28:15 +02:00
2024-12-13 12:43:20 +00:00
2024-07-15 11:09:54 +01:00
2024-07-15 11:09:54 +01:00
2024-08-15 22:08:34 +01:00
2024-07-15 11:09:54 +01:00
2023-10-03 15:14:24 +01:00
2024-04-18 16:53:55 +02:00
2024-04-18 16:53:55 +02:00
2018-01-15 17:51:14 +00:00
2024-03-07 11:09:07 +00:00
2024-02-27 10:56:19 +00:00
2019-07-28 18:47:38 +01:00
2019-06-09 15:57:05 +01:00
2024-07-15 11:09:54 +01:00
2023-11-18 17:49:35 +00:00
2024-07-15 11:09:54 +01:00
2023-10-03 15:14:24 +01:00
2025-01-22 11:56:05 +00:00
2023-04-28 14:31:05 +01:00
2020-06-30 12:01:36 +01:00
2024-07-15 11:09:54 +01:00
2024-12-13 12:43:20 +00:00
2024-07-15 11:09:54 +01:00
2025-01-16 10:39:01 +01:00
2024-04-18 16:53:55 +02:00
2023-11-18 17:49:35 +00:00
2024-02-27 10:56:19 +00:00
2024-08-15 22:01:52 +01:00
2022-05-12 20:27:13 +01:00
2024-09-06 17:04:18 +01:00
2023-06-23 14:12:03 +01:00
2025-01-15 16:32:59 +00:00
2022-06-29 14:29:36 +01:00
2024-10-22 19:54:33 +01:00
2023-05-14 11:22:57 +01:00
2023-05-14 11:22:57 +01:00
2022-11-21 08:02:09 +00:00
2023-05-09 16:28:10 +01:00
2023-10-01 12:30:26 +01:00
2024-07-15 11:09:54 +01:00
2024-03-13 18:08:59 +00:00
2024-07-15 11:09:54 +01:00
2023-05-04 15:04:11 +01:00
2024-09-13 15:52:51 +01:00
2024-07-15 11:09:54 +01:00
2024-08-15 22:08:34 +01:00
2023-10-03 15:14:24 +01:00
2023-10-03 15:14:24 +01:00
2024-07-15 11:09:54 +01:00
2023-03-27 16:17:49 +01:00
2024-07-15 11:09:54 +01:00
2022-05-17 12:10:01 +01:00
2025-01-14 12:13:14 +00:00
2022-05-17 12:10:01 +01:00
2025-01-12 16:31:12 +00:00