You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: introduce rdma_factory and make ENABLE_RDMA build optional
Add rdma_factory (make_rdma_sender / make_rdma_receiver) as a transport
backend abstraction layer to eliminate #ifdef LIMESTONE_ENABLE_RDMA from
business logic. ENABLE_RDMA=ON links rdma_comm_sender/receiver;
ENABLE_RDMA=OFF uses null backends that return failure on initialize()
to prevent silent no-ops.
This completes the OSS preparation steps:
- Introduce rdma_sender_base / rdma_receiver_base / rdma_send_stream_base
as abstract transport interfaces
- Add null backend (rdma/null/) and rdma_comm backend (rdma/rdma_comm/)
- Remove #ifdef from datastore_impl.cpp and replica_server.cpp
- Reorganize rdma/ source tree: null/ and rdma_comm/ subdirectories
- Fix null_rdma_sender/receiver::initialize() to return failure when RDMA
is disabled, making misconfiguration visible rather than silent
- Guard RDMA-specific tests and test parameters with #ifdef
LIMESTONE_ENABLE_RDMA across datastore_impl_test, replica_server_test,
message_rdma_init_test, scenario_test, and datastore_replication_test
- Add ENABLE_RDMA CMake option documentation to README.md
- Add CMake Configure(PUT_ONLY=ON, ENABLE_RDMA=ON) task to tasks.json
0 commit comments