SDSTOR-25689: using sisl common headers in homestore v8 - #915
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The public README still directs consumers to the deleted HomeStore coroutine helper API.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Migrates HomeStore v8 to SISL-provided coroutine helpers and bounded queues.
Changes:
- Replaces local helpers with
sisl::asyncandsisl::BoundedMPMCQueue. - Removes duplicate local headers.
- Bumps HomeStore to 8.3.0 and SISL to 14.9.
File summaries
| File | Description |
|---|---|
conanfile.py |
Updates package and SISL versions. |
src/lib/blkalloc/blk_cache_queue.cpp |
Uses SISL bounded queue. |
src/lib/blkalloc/blk_cache_queue.h |
Updates queue type and include. |
src/lib/blkalloc/bounded_mpmc_queue.hpp |
Removes local queue implementation. |
src/lib/blkalloc/fixed_blk_allocator.h |
Uses SISL bounded queue. |
src/lib/checkpoint/cp_mgr.cpp |
Migrates coroutine helpers. |
src/lib/common/coro_helpers.hpp |
Removes local coroutine helpers. |
src/lib/device/journal_vdev.cpp |
Migrates detached CP invocation. |
src/lib/homestore.cpp |
Migrates synchronous coroutine waits. |
src/lib/index/index_service.cpp |
Migrates detached CP invocation. |
src/lib/index/wb_cache.cpp |
Migrates asynchronous continuations. |
src/lib/logstore/log_dev.cpp |
Migrates await and synchronization helpers. |
src/lib/replication/log_store/home_raft_log_store.cpp |
Migrates log-store helpers. |
src/lib/replication/log_store/repl_log_store.cpp |
Migrates synchronous waiting. |
src/lib/replication/repl_dev/raft_repl_dev.cpp |
Migrates replication coroutine helpers. |
src/lib/replication/repl_dev/raft_state_machine.cpp |
Migrates checkpoint waits. |
src/lib/replication/repl_dev/solo_repl_dev.cpp |
Migrates asynchronous continuations. |
src/lib/replication/service/generic_repl_svc.cpp |
Migrates synchronous waiting. |
src/lib/replication/service/raft_repl_service.cpp |
Migrates membership-operation waits. |
src/tests/test_append_blkalloc.cpp |
Updates detached test tasks. |
src/tests/test_common/homestore_test_common.hpp |
Migrates shared test helpers. |
src/tests/test_common/hs_repl_test_common.hpp |
Migrates replication test waits. |
src/tests/test_common/raft_repl_test_base.hpp |
Migrates replication test helpers. |
src/tests/test_cp_mgr.cpp |
Migrates checkpoint test helpers. |
src/tests/test_data_service.cpp |
Migrates asynchronous test operations. |
src/tests/test_index_crash_recovery.cpp |
Migrates index destruction waits. |
src/tests/test_log_dev.cpp |
Migrates log-device continuations. |
src/tests/test_log_store.cpp |
Migrates log-store continuation. |
src/tests/test_log_store_long_run.cpp |
Migrates long-run continuation. |
src/tests/test_raft_repl_dev_dynamic.cpp |
Migrates member replacement wait. |
src/tests/test_solo_repl_dev.cpp |
Migrates solo replication helpers. |
Review details
- Files reviewed: 31/31 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
3540635 to
5281c5f
Compare
b13a107 to
152aede
Compare
152aede to
a6c5489
Compare
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev/v8.x #915 +/- ##
===========================================
Coverage ? 46.05%
===========================================
Files ? 111
Lines ? 12471
Branches ? 5876
===========================================
Hits ? 5744
Misses ? 3178
Partials ? 3549 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
thanks @shosseinimotlagh for the review, I will merge it |
since we have migrated som common part to sisl(coro.hpp), we use the lastest to replace the duplicated code in homestore.
all the changes in this PR are all cosmetic format change, no logic change is made