Repository navigation
rgw/s3vectors: Allow Objects in Vector Buckets - #72180
Conversation
c14e67a to
0210e1e
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
1 similar comment
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
0210e1e to
28c6ccb
Compare
Config Diff Tool Output+ added: rgw_s3vector_data_s3_bucket (rgw.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
Reuse the bucket object interface for vector buckets while preserving separate entrypoints and owner listings. Initialize their bucket indexes and route LanceDB object operations through the vector bucket namespace. Add rgw_s3vector_data_s3_bucket to retain the option of a same-name S3 backing bucket. Persist the storage choice on creation and use it for short-lived and cached sessions so configuration changes affect only new vector buckets. Defer session caching until after metadata creation. Clean up native objects, multipart uploads, and bucket indexes on removal. Update documentation and tests for storage-mode persistence, namespace isolation, and native vector bucket ownership. Assisted-by: Codex:GPT-6-Astra Signed-off-by: Soumya Koduri <[email protected]> Assisted-by: Claude Fable 5.1
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
Separate REST inputs from server-resolved backend settings in VectorBucketConfig. Use one initializer for all vector REST operations, resolving storage mode from the bucket metadata already loaded with the request yield context. Pass backend_config through permission checks, bucket creation and connection helpers so LanceDB execution does not perform blocking metadata reads. Resolve administrative cleanup settings before entering its alternate stack. Leave storage_mode unset for ListVectorBuckets, which has no individual target bucket. Assisted-by: Codex:GPT-6-Astra Signed-off-by: Soumya Koduri <[email protected]> Assisted-by: Claude Fable 5.1
* Include both the storage-modes in the tests and also teuthology-suite * Cover account and tenant-account ownership in storage-mode and shared instance tests. Qualify bucket-only admin lookups with namespace/name and verify that account data remains accessible after creator deletion. * Set the post-filtering candidate multiplier explicitly and use fixed vectors so the expected nearest-neighbor ordering is deterministic. Always remove the test buckets and indexes after failures. * lower verbosity of skipped session deletion notices Assisted-by: Codex:GPT-6-Astra Signed-off-by: Soumya Koduri <[email protected]> Assisted-by: Claude Fable 5.1
f5b3a4c to
260ac61
Compare
Use one bucket.instance metadata handler for regular and vector buckets, removing per-entry type reads from instance listings. Skip remote vector metadata before local I/O and reject changes to an existing bucket type. Include testcases (for basic ops) for both the bucket types. Signed-off-by: Soumya Koduri <[email protected]>
Remove the redundant ownership check for native vector storage. Keep the additional permission checks for separate S3 backing buckets. Parameterize all SAL wrapper functional cases for S3 and native vector buckets, including bucket setup and cleanup. Signed-off-by: Soumya Koduri <[email protected]>
283402a to
3b09d9f
Compare
the lambda capturing bucket_id by value is a temporary inside a co_await expression. gcc 12 promotes such temporaries into the coroutine frame, and leaves a bitwise copy of the closure behind instead of moving it, so the captured string is freed twice: once by the unique_function built from it, and once by the leftover copy. introduced by: 6a7a9e4 Signed-off-by: Yuval Lifshitz <[email protected]> Assisted-by: Claude Fable 5.1
|
/config check ok |
|
jenkins test windows |
4918b77 to
a0def10
Compare
|
full rgw regression (6 failures): rerun after fixing s3vectors test issue: separate run of s3vectors tests (after test fix): |
(update to 2922d44) * exclude from dedup * exclude from bilog trim * exclude from stale objects * make sure that metadata admin commands are separated Signed-off-by: Yuval Lifshitz <[email protected]> Assisted-by: Claude Fable 5.1 Assisted-by: claude-code:claude-fable-5-1
a0def10 to
f1ff473
Compare
|
@soumyakoduri squashed the teuthology fixes into the last commit and force-pushed |
|
jenkins test api |
|
jenkins test windows |
This PR enables object storage in vector buckets, allowing LanceDB data to be stored directly in the VectorBucket instead of using regular S3 bucket.
storage mode is selected based on this option value during VectorBucket creation and will remain the same through out that bucket lifecyle. Configuration changes affect only newly created vector buckets; they do not migrate existing data. The local filesystem backend is unaffected.
With this, S3 and vector buckets retain separate entrypoints and listings while sharing the bucket-instance metadata namespace. Distinct bucket IDs keep their data separate, even when their names match. Native vector objects are accessible through internal RGW operations, not through the S3 object API.
Below is the feature status for native vector buckets:
TODO: (will be addressed as follow-up)
Resharding
Vector Bucket Policies
User-selected storage through bucket tags/attrs (apart from admin controlled config options)
Quota,
chown,
Bucket and Owner stats,
Usage accounting,
NA:
S3 SetACL API - Not exposed for vector buckets; the default owner ACL is retained
Multisite replication - Disabled for vector metadata and data
Lifecycle, object expiration, cloud transition and restore - Not supported for native vector storage
GC and deduplication are expected to use the existing bucket-agnostic mechanisms; they should be working for vector buckets as well.
Signed-off-by: Soumya Koduri [email protected]
Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.