Nick Craig-Wood
a5700a4a53
operations: rework rcat so that it doesn't call the --metadata-mapper twice
...
The --metadata-mapper was being called twice for files that rclone
needed to stream to disk,
This happened only for:
- files bigger than --upload-streaming-cutoff
- on backends which didn't support PutStream
This also meant that these were being logged as two transfers which
was a little strange.
This fixes the problem by not using operations.Copy to upload the file
once it has been streamed to disk, instead using the Put method on the
backend.
This should have no effect on reliability of the transfers as we retry
Put if possible.
This also tidies up the Rcat function to make the different ways of
uploading the data clearer and make it easy to see that it gets
verified on all those paths.
See #7848
2024-05-20 18:16:54 +01:00
..
2024-04-22 19:29:12 +02:00
2022-11-07 11:41:47 +00:00
2024-02-29 16:21:41 +00:00
2022-08-28 13:43:51 +02:00
2022-08-09 12:57:38 +01:00
2024-04-18 16:53:55 +02:00
2023-07-03 14:09:21 +01:00
2024-04-18 16:53:55 +02:00
2024-01-22 16:46:26 +00:00
2024-04-22 19:29:12 +02:00
2023-11-24 17:53:33 +00:00
2024-04-18 16:53:55 +02:00
2023-11-24 11:19:58 +00:00
2024-02-27 10:56:19 +00:00
2024-04-22 19:29:12 +02:00
2024-04-22 19:29:12 +02:00
2023-11-20 17:36:31 +00:00
2024-05-20 18:16:54 +01:00
2024-05-20 18:16:54 +01:00
2024-04-18 16:53:55 +02:00
2024-05-03 12:29:18 +01:00
2024-01-22 16:46:26 +00:00
2021-05-14 14:07:44 +01:00
2023-03-25 12:51:04 +01:00
2023-10-23 15:43:42 +01:00
2023-10-23 15:43:55 +01:00
2023-10-03 11:23:58 +01:00
2022-08-05 16:35:41 +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-03-07 17:20:24 +00:00
2021-07-20 12:09:38 +01:00
2023-10-03 11:23:58 +01:00
2023-10-03 11:23:58 +01:00
2023-10-03 15:14:24 +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
2023-10-03 15:24:09 +01:00
2023-11-18 17:49:35 +00:00
2023-10-03 15:14:24 +01:00
2023-10-03 15:14:24 +01:00
2024-02-27 10:56:19 +00:00
2023-04-28 14:31:05 +01:00
2020-06-30 12:01:36 +01:00
2023-07-07 16:25:14 +01:00
2022-07-13 16:04:53 +01:00
2023-11-16 17:15:00 +00:00
2024-04-02 14:57:43 +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-02-27 10:56:19 +00:00
2022-05-12 20:27:13 +01:00
2022-08-05 16:35:41 +01:00
2023-06-23 14:12:03 +01:00
2023-06-23 14:12:03 +01:00
2022-06-29 14:29:36 +01:00
2024-03-07 14:44:45 +00: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-03-13 18:08:59 +00:00
2024-03-13 18:08:59 +00:00
2023-10-03 11:23:58 +01:00
2023-05-04 15:04:11 +01:00
2024-03-29 17:11:21 +01:00
2023-10-03 11:23:58 +01:00
2023-10-03 11:23:58 +01:00
2023-10-03 15:14:24 +01:00
2023-10-03 15:14:24 +01:00
2023-10-03 11:23:58 +01:00
2023-03-27 16:17:49 +01:00
2024-05-14 12:51:03 +01:00
2022-05-17 12:10:01 +01:00
2024-04-18 16:53:55 +02:00
2022-05-17 12:10:01 +01:00
2024-03-10 12:14:00 +00:00