Skip to content

[DNM] rgw/s3vectors: test lancedb-c#69 (C API on runtime worker threads) - #72652

Closed
aaltshuler wants to merge 1 commit into
ceph:mainfrom
aaltshuler:wip-s3vectors-lancedb-c-pr69
Closed

aaltshuler wants to merge 1 commit into
ceph:mainfrom
aaltshuler:wip-s3vectors-lancedb-c-pr69

Conversation

@aaltshuler

Copy link
Copy Markdown
Contributor

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 the stacker dependency.

Changes

Testing

Not built locally; I'm relying on make check for the build and the existing unit tests. Neither unittest_rgw_s3vector nor unittest_rgw_lancedb_store calls these four operations, so the real check is the rgw/s3vectors teuthology suite. Could you schedule it on this branch?

One thing to watch under load: lancedb-rgw-store calls into SAL synchronously inside its async ObjectStore methods. 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 call lancedb_runtime_configure() here, so it gets the defaults.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

🤖 Generated with Claude Code

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]>
@aaltshuler
aaltshuler requested a review from a team as a code owner October 14, 2026 00:23
@github-actions

Copy link
Copy Markdown

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 ci-approved to allow Jenkins CI jobs to run.

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@aaltshuler

Copy link
Copy Markdown
Contributor Author

Closing. This pinned lancedb-c at the head of lancedb/lancedb-c#69 (11e8072), which was closed in favour of lancedb/lancedb-c#76. The Ceph side of #76 is #73919, and the RGW validation was re-run there against #76's head: #73919 (comment)

@aaltshuler aaltshuler closed this Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant