Repository navigation
rgw/test: Add unit tests for sal_wrapper APIs and LanceDB ObjectStore - #70969
soumyakoduri wants to merge 1 commit into
Conversation
46f5dce to
423ff5b
Compare
| * See file COPYING for licensing information. | ||
| */ | ||
|
|
||
| //! Integration tests for RGWObjectStore. |
There was a problem hiding this comment.
can we replace this with https://github.com/apache/arrow-rs-object-store/blob/main/src/integration.rs ?
this is the formal integration test suite for custom object stores
There was a problem hiding this comment.
Done. Included these tests and deleted earlier tests which duplicate some of these tests.
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
@soumyakoduri please look into fixing this copilot comment in this PR: #66066 (comment) note thtat it looks like the conditional copy is not called fro mthe lancedb code, so, the issue and fix could only be verified with a unittests |
423ff5b to
343541b
Compare
This is valid but seems to be gap with conditional_copy implementation within RGW code. It handles only source object conditions but not of destination objects. Will create a tracker to address this gap. For now included comment in rgw_sal_wrapper.cc about the same. |
343541b to
1146e5c
Compare
|
@soumyakoduri please see my proposal here: af4d333 havn't run in teuthology yet, so, i'm not sure if there are actual issues with this approach |
OK sure — but this seems to add significant build complexity to expose the SAL wrapper as a separate lib and also to run |
6e6f3ae to
eb0856d
Compare
agree it add build complexity, but is simplifies the test code itself. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
eb0856d to
8b62881
Compare
|
jenkins test make check |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
8b62881 to
8717f62
Compare
8717f62 to
16624f1
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
16624f1 to
bc70e7d
Compare
…anceDB ObjectStore 1) GoogleTest-based tests are added for the rgw_sal_wrapper C FFI API. This test can be exercised against all the backends. To be able to read config options (esp., for RADOS backend) it needs to read ceph.conf and hence takes its path as optional parameter. The cmd to execute - ./bin/ceph_test_rgw_sal_wrapper -c <path/to/ceph.conf> 2) Add arrow-rs integration tests that exercise the Rust ObjectStore trait implementation (lancedb-rgw-store) end-to-end through the real FFI boundary against a live SAL driver. 3) add teuthology workunits for SAL wrapper and LanceDB ObjectStore tests Add workunit scripts and a teuthology task to run ceph_test_rgw_sal_wrapper and ceph_test_rgw_lancedb_object_store as part of the rgw/verify suite. Assisted-by: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: Yuval Lifshitz <[email protected]> Signed-off-by: Soumya Koduri <[email protected]>
bc70e7d to
f09ea34
Compare
|
cherry-picked to |
This PR contains unit tests for the rgw_sal_wrapper C FFI API and also integration tests for LanceDB ObjectStore both of which can be exercised against any backend and live cluster.
TODO:
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.