Skip to content

feat(s3): add aliyun oss vendor support and config - #4564

Merged
qin-ctx merged 1 commit into
volcengine:mainfrom
baojun-zhang:s3-vendor
Sep 1, 2026
Merged

feat(s3): add aliyun oss vendor support and config#4564
qin-ctx merged 1 commit into
volcengine:mainfrom
baojun-zhang:s3-vendor

Conversation

@baojun-zhang

Copy link
Copy Markdown
Collaborator

Description

Add s3_vendor to S3FS.

This lets Alibaba Cloud OSS use its supported create-if-absent header.
It also avoids sending unsupported PutObject If-Match headers.

Human Involvement

  • A human participated in the implementation or review loop
  • This PR was generated entirely by AI agents without human participation in the loop

Related Issue

Fixes #4204

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

  • Add storage.agfs.s3.s3_vendor with standard and aliyun_oss.
  • Pass s3_vendor from Python config into the Rust S3FS plugin.
  • Add S3FS adapters for If-None-Match and If-Match handling.
  • Use x-oss-forbid-overwrite: true for OSS create-if-absent writes.
  • Skip PutObject If-Match for OSS overwrite writes and log that CAS is not guaranteed.
  • Update Chinese and English S3 configuration docs.

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Screenshots (if applicable)

image

@qin-ctx
qin-ctx merged commit 63c2530 into volcengine:main Sep 1, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in OpenViking project Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: RAGFS PathLock lock-token creation fails on Alibaba Cloud OSS

2 participants