mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-25 22:40:44 +01:00
WriteFile and UpdateFileMetadata dumped every extended attribute into the S3 tagging header and PutObjectTagging. Seaweed-internal attributes such as Seaweed-X-Amz-Acl carry values that are not legal S3 tags, so a tag-aware remote now rejects the upload with InvalidTag. Mirror the s3sink rule: only X-Amz-Tagging-* attributes are tags, prefix stripped, and skip the tagging call when the tag set did not change. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>