Repository navigation
[DNM] rgw/s3vectors: test lancedb-c#69 (C API on runtime worker threads) - #72652
Closed
aaltshuler wants to merge 1 commit into
Closed
aaltshuler wants to merge 1 commit into
aaltshuler wants to merge 1 commit into
Conversation
Do not merge. This tests lancedb/lancedb-c#69 with RGW as a real client before that PR merges, as requested in its review. With lancedb-c#69, every C API call runs its async work on the lancedb-c runtime's worker threads (8 MiB stacks by default) and the caller only blocks until it completes, so the caller's stack size no longer matters. The PR removes lancedb_run_on_stack() and the stacker dependency. - point the lancedb-c submodule at the PR head, 11e8072, fetched from the aaltshuler/lancedb-c fork until the PR merges - call create_index_impl(), remove_indexes_impl(), create_vector_bucket_impl() and put_vectors_impl() directly - drop stacker, psm, ar_archive_writer and object from src/rgw/Cargo.lock Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Andrew Altshuler <[email protected]>
|
Thank you for your contribution. Since you are not yet a member of the Ceph organization with write permissions on ceph/ceph.git, our CI will not automatically run. Any member of the Ceph organization may label this PR |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
Contributor
Author
|
Closing. This pinned lancedb-c at the head of lancedb/lancedb-c#69 ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Do not merge. This is the validation PR @yuvalif asked for in lancedb/lancedb-c#69 (comment): RGW built against lancedb-c#69, with the
lancedb_run_on_stack()calls removed, so the change can be tested with a real client before #69 merges.With lancedb-c#69, every C API call runs its async work on the lancedb-c runtime's worker threads (8 MiB stacks by default) and the caller only blocks until it completes, so RGW no longer needs to grow the coroutine stack around LanceDB calls. #69 removes
lancedb_run_on_stack()and thestackerdependency.Changes
src/rgw/lancedb-csubmodule:a4ac1c0→11e8072(Changes to the OS support, multi-data center, and hypervisor questions in the FAQ. #69 head; it also brings in the explain-plan FFI already on lancedb-cmain)..gitmodulespoints at theaaltshuler/lancedb-cfork, because11e8072is not on an upstream branch yet. Both revert to upstream once Changes to the OS support, multi-data center, and hypervisor questions in the FAQ. #69 merges.src/rgw/rgw_s3vector.cc:create_index,remove_indexes,create_vector_bucketandput_vectorscall their*_implfunctions directly.src/rgw/Cargo.lock: removesstackerand the three packages only it used (psm,ar_archive_writer,object). Generated withcargo update --workspace, no other changes.Testing
Not built locally; I'm relying on
make checkfor the build and the existing unit tests. Neitherunittest_rgw_s3vectornorunittest_rgw_lancedb_storecalls these four operations, so the real check is thergw/s3vectorsteuthology suite. Could you schedule it on this branch?One thing to watch under load:
lancedb-rgw-storecalls into SAL synchronously inside its asyncObjectStoremethods. With #69 those calls run on the runtime's worker threads (one per CPU by default), so concurrent object-store I/O from LanceDB is bounded by the worker count. RGW does not calllancedb_runtime_configure()here, so it gets the defaults.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.
🤖 Generated with Claude Code