max
445528a3fb
serve s3: fix spurious 404 on HEAD/GET during VFS writeback - fixes #8188
...
After an upload (notably multipart) to a slow backing remote, the file
lives in the VFS and is returned by ListBucket, but node.DirEntry() stays
nil until the --vfs-write-back writeback completes. HeadObject and
GetObject returned gofakes3.KeyNotFound while it was nil, so a HEAD/GET in
that window 404'd even though the object existed.
getFileHashByte already falls back to hashing the VFS cache when the
backing object isn't available yet. Drop the early nil return, pass the
node (not the fs.Object) to getFileHashByte, and take the Content-Type
from fs.MimeTypeFromName when the backing object isn't there yet.
2026-06-26 18:38:04 +01:00
..
2025-08-26 12:04:00 +02:00
2026-04-10 11:39:50 +01:00
2026-04-18 17:48:03 +01:00
2025-10-02 18:46:16 +02:00
2025-11-04 23:00:46 +01:00
2026-05-11 18:34:02 -04:00
2024-08-15 18:26:34 +02:00
2025-08-26 12:04:00 +02:00
2025-08-26 12:04:00 +02:00
2024-08-15 18:26:34 +02:00
2025-08-26 12:04:00 +02:00
2026-04-27 15:09:14 +01:00
2025-10-03 15:54:15 +01:00
2025-09-15 12:45:57 +01:00
2025-08-26 12:04:00 +02:00
2025-11-01 15:33:38 +01:00
2026-02-17 11:46:37 +00:00
2025-11-13 13:47:40 +00:00
2025-11-01 15:33:38 +01:00
2025-11-01 15:33:38 +01:00
2025-08-26 12:04:00 +02:00
2025-08-26 12:04:00 +02:00
2026-06-18 13:28:23 +01:00
2025-09-02 14:06:31 +02:00
2026-01-18 20:48:33 +01:00
2026-06-22 12:04:29 +01:00
2025-11-01 15:33:38 +01:00
2025-11-01 15:33:38 +01:00
2026-04-24 16:23:12 +01:00
2025-12-15 09:11:00 +01:00
2025-11-01 15:33:38 +01:00
2025-11-01 15:33:38 +01:00
2026-01-18 20:48:33 +01:00
2025-11-01 15:33:38 +01:00
2025-08-26 12:04:00 +02:00
2023-08-02 12:53:09 +01:00
2026-04-27 15:09:14 +01:00
2026-06-01 12:06:03 +01:00
2026-05-25 17:52:36 +01:00
2025-08-26 12:04:00 +02:00
2025-11-01 15:33:38 +01:00
2026-06-05 18:13:16 +01:00
2026-05-24 18:09:03 +01:00
2026-01-18 20:56:26 +01:00
2025-08-26 12:04:00 +02:00
2026-04-19 13:31:27 +01:00
2025-11-01 15:33:38 +01:00
2025-08-26 12:04:00 +02:00
2022-12-03 18:58:55 +01:00
2025-08-26 12:04:00 +02:00
2025-08-26 12:04:00 +02:00
2025-08-26 12:04:00 +02:00
2026-06-26 18:38:04 +01:00
2025-11-01 15:33:38 +01:00
2025-08-26 12:04:00 +02:00
2025-08-26 12:04:00 +02:00
2025-08-26 12:04:00 +02:00
2025-11-21 17:02:45 +00:00
2026-02-26 16:20:24 +00:00
2025-08-26 12:04:00 +02:00
2025-11-01 15:33:38 +01:00
2026-02-18 12:11:52 +00:00
2024-02-29 14:46:50 +00:00
2025-11-04 23:00:46 +01:00
2026-02-18 12:11:52 +00:00
2024-04-18 16:53:55 +02:00
2024-04-18 16:53:55 +02:00
2024-09-06 17:04:18 +01:00
2024-04-18 16:53:55 +02:00