Skip to content

HDDS-14967. Add S3 Vectors foundation (feature flag and SigV4) - #12131

Open
iprithv wants to merge 1 commit into
apache:masterfrom
iprithv:HDDS-14967
Open

iprithv wants to merge 1 commit into
apache:masterfrom
iprithv:HDDS-14967

Conversation

@iprithv

@iprithv iprithv commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

First small step for S3 Vectors (HDDS-14967):

  • Add OzoneManagerVersion.S3_VECTORS
  • Add ozone.s3g.s3vectors.enabled (default false)
  • Treat SigV4 service s3vectors like s3 for x-amz-content-sha256, so large PutVectors bodies are not blocked by the 32 KiB STS body-hash path

No vector APIs yet. Just the foundation.

What is the link to the Apache Jira?

https://issues.apache.org/jira/browse/HDDS-14967

How was this patch tested?

https://github.com/iprithv/ozone/actions/runs/45134851293

@github-actions github-actions Bot added the s3 S3 Gateway label Nov 23, 2026
@iprithv

iprithv commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Design doc for this work: apache/ozone-site#604

@adoroszlai adoroszlai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @iprithv for the patch.

Comment on lines +108 to +111
S3_VECTORS(107,
"OzoneManager version that supports S3 Vectors APIs (vector buckets, "
+ "indexes, PutVectors, DeleteVectors, GetVectors, ListVectors, "
+ "QueryVectors)"),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see the guide on how to add new versions.

  1. Incompatible: Adding a version in one commit and using it in a follow-up commit.

"OzoneManager version that supports S3 Vectors APIs" says OM supports the new API, but there are no OM changes. Thus the PR is "adding a version and using it in follow-up".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, removed S3_VECTORS from OzoneManagerVersion and renamed the flag to ozone.s3g.dev.s3vectors.enabled per the guide. Will add the OM version later with the OM changes :)

@iprithv
iprithv requested a review from adoroszlai November 29, 2026 16:59
@adoroszlai
adoroszlai dismissed their stale review November 29, 2026 17:06

patch updated

@adoroszlai

Copy link
Copy Markdown
Contributor

Thanks @iprithv for updating the patch. The versioning part LGTM.

@adoroszlai
adoroszlai requested a review from peterxcli November 29, 2026 17:07
Signed-off-by: prithvi <prithvisivasankar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

s3 S3 Gateway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants