Files
seaweedfs/weed/server
56e95e5ebd filer: keep chunk encryption on server-side copy (#13392)
* filer: reproduce overwritten bytes lost by server-side copy

Signed-off-by: Perfloop Agent <agent@perfloop.ai>

* filer: retain chunk modification time during server-side copy

Signed-off-by: Perfloop Agent <agent@perfloop.ai>

* filer: isolate the copy regression volume-location cache

Signed-off-by: Perfloop Agent <agent@perfloop.ai>

* filer: reuse fake master in chunk copy regression

Signed-off-by: Perfloop Agent <agent@perfloop.ai>

* filer: share the chunk copy test fixture

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* filer: keep chunk encryption on server-side copy

The copy sent each needle with the chunk's clear size as its length, so a
chunk encrypted by the filer (ciphertext is longer) failed to copy. Chunks
also lost their cipher key, compression flag and S3 SSE metadata, which a
reader needs to decode the copied bytes. The upload now takes the stored
length and the copied chunk keeps those fields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Signed-off-by: Perfloop Agent <agent@perfloop.ai>
Co-authored-by: Perfloop Agent <agent@perfloop.ai>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 11:30:21 -08:00
..
2026-02-20 18:42:00 -08:00