00:05:43 | | Arcorann (Arcorann) joins |
00:14:49 | | DogsRNice_ joins |
00:17:50 | | DogsRNice quits [Ping timeout: 240 seconds] |
00:46:36 | | qwertyasdfuiopghjkl quits [Remote host closed the connection] |
01:02:44 | | DogsRNice__ joins |
01:04:42 | | qwertyasdfuiopghjkl (qwertyasdfuiopghjkl) joins |
01:06:47 | | DogsRNice_ quits [Ping timeout: 272 seconds] |
04:22:26 | <nicolas17> | hm |
04:22:47 | <nicolas17> | JAA: is x-archive-size-hint supposed to the the size of the whole item? |
04:24:20 | <nicolas17> | "ia upload --debug myitem data/severalfiles*" shows it's sending the size of each individual file in the x-archive-size-hint |
04:24:47 | <nicolas17> | so it uploads a small file with x-archive-size-hint:176 Content-Length:176, then a larger file with x-archive-size-hint:129105920 Content-Length:129105920, seems to defeat the whole point of that header |
04:24:52 | <nicolas17> | however I may have an old version of ia |
04:25:32 | <@JAA> | nicolas17: Yes, the total size of the item. |
04:25:58 | <@JAA> | I thought that the CLI does it right, but I never really checked, I think. |
04:26:25 | <@JAA> | There's definitely code iterating over all files and summing their sizes. Or at least there was a couple years ago. |
04:27:11 | <nicolas17> | then again I also don't see x-amz-auto-make-bucket:1 in the first upload, or metadata |
04:27:23 | <nicolas17> | so maybe --debug is busted |
04:59:36 | | DogsRNice__ quits [Read error: Connection reset by peer] |
08:12:24 | | qwertyasdfuiopghjkl quits [Remote host closed the connection] |
10:42:41 | | qwertyasdfuiopghjkl (qwertyasdfuiopghjkl) joins |
11:50:47 | | driib quits [Quit: The Lounge - https://thelounge.chat] |
11:53:48 | | murmur quits [Read error: Connection reset by peer] |
11:53:52 | | murmur joins |
12:09:54 | | driib (driib) joins |
12:21:49 | | driib quits [Client Quit] |
12:22:58 | | driib (driib) joins |
13:09:50 | | Arcorann quits [Ping timeout: 240 seconds] |
14:59:29 | | Iki1 joins |
15:03:25 | | Iki quits [Ping timeout: 272 seconds] |
15:07:03 | | qwertyasdfuiopghjkl quits [Remote host closed the connection] |
15:12:07 | | qwertyasdfuiopghjkl (qwertyasdfuiopghjkl) joins |
15:37:44 | | c3manu (c3manu) joins |
18:34:12 | | katia_ (katia) joins |
18:34:49 | | katia_ quits [Remote host closed the connection] |
18:45:13 | | katia_ (katia) joins |
19:01:10 | | katia_ quits [Remote host closed the connection] |
19:03:22 | | nyany_ quits [Quit: (516): and then you went into taco bell without pants...and surprisingly you weren't the only one there without pants] |
19:03:32 | | nyany (nyany) joins |
20:28:43 | | DogsRNice joins |
20:52:07 | | line quits [Remote host closed the connection] |
20:52:26 | | line joins |
20:55:51 | | line quits [Remote host closed the connection] |
20:58:23 | | line joins |
20:58:24 | | line quits [Remote host closed the connection] |
21:00:55 | | line joins |
21:01:37 | | line quits [Remote host closed the connection] |
21:02:33 | | line joins |
21:03:51 | | line quits [Remote host closed the connection] |
21:05:22 | | line joins |
21:06:30 | | line quits [Remote host closed the connection] |
21:06:55 | | line joins |
21:09:45 | | line quits [Remote host closed the connection] |
21:10:41 | | line joins |
21:16:10 | | line quits [Remote host closed the connection] |
21:17:01 | | line joins |
21:22:26 | | line quits [Remote host closed the connection] |
21:22:46 | | line joins |
21:24:38 | | line quits [Remote host closed the connection] |
21:25:48 | | line joins |
21:28:31 | | line quits [Remote host closed the connection] |
21:29:01 | | line joins |
21:34:36 | | line quits [Remote host closed the connection] |
21:34:56 | | line joins |
21:59:42 | | line quits [Remote host closed the connection] |
22:00:03 | | line joins |
22:05:29 | | line quits [Remote host closed the connection] |
22:05:50 | | line joins |
22:13:12 | | Arcorann (Arcorann) joins |
22:17:56 | | c3manu quits [Read error: Connection reset by peer] |
22:18:02 | | c3manu (c3manu) joins |
22:57:35 | <@arkiver> | nicolas17: JAA: yeah the ia cli does it wrong. i pointed it out before, but no effort has been made to fix it |
23:00:00 | <nicolas17> | I'm uploading multi-file items from the largest file to the smallest, so it reduces the impact of that, and also reduces redundant derive tasks etc |
23:00:35 | <@JAA> | arkiver: Jake's normally quite responsive to PRs at least, so maybe I'll take a look. |
23:07:04 | <@JAA> | Oh, yeah, it doesn't even attempt to set it, it seems. |
23:08:28 | <@JAA> | There's a `--size-hint` option or you can specify the header directly, but that's it. |
23:08:41 | <@JAA> | And then on each individual upload, it sets the hint to the file's size if there isn't a header already. |
23:17:35 | <@JAA> | Should be easy to fix though. It already iterates through all files to get the total file count to know when to queue a derive. Adding a stat call and returning the size along with that is pretty easy. |
23:19:40 | <nicolas17> | does it send "don't derive" until the last file? |
23:20:18 | <@JAA> | Yes |
23:21:24 | <nicolas17> | redundant derives was the main thing I was trying to avoid by uploading files largest-first |
23:21:35 | <nicolas17> | seems that was unnecessary, but it still helps with the bad size hint |
23:22:30 | <@JAA> | There are cases where the derive thing doesn't work: https://github.com/jjjake/internetarchive/issues/288 |
23:23:16 | <@JAA> | I've been uploading without deriving and then explicitly triggering a derive for a long time now. |
23:24:23 | <@JAA> | There's also this fun quirk: https://github.com/jjjake/internetarchive/issues/253 |
23:31:03 | <nicolas17> | ugh |
23:31:30 | <nicolas17> | I also noticed --checksum sometimes doesn't work and re-uploads the file, idk if it's because IA didn't process the upload yet and it's not in the file list? |
23:32:01 | <@JAA> | That'd definitely be my first guess, yes. |
23:32:45 | <@JAA> | https://github.com/jjjake/internetarchive/issues/289 |
23:32:54 | <@JAA> | Filed by yours truly five years ago. :-) |
23:34:16 | <nicolas17> | aaaaa stupid broken tooling >:( |
23:34:50 | <@JAA> | You can use ia-wait-item-tasks from my little-things to restart as soon as all pending tasks are processed. |