Skip to content

SDSTOR-25689: using sisl common headers in homestore v8 - #915

Merged
JacksonYao287 merged 1 commit into
eBay:dev/v8.xfrom
JacksonYao287:using-sisl-header
Sep 17, 2026
Merged

JacksonYao287 merged 1 commit into
eBay:dev/v8.xfrom
JacksonYao287:using-sisl-header

Conversation

@JacksonYao287

@JacksonYao287 JacksonYao287 commented Sep 16, 2026

Copy link
Copy Markdown
Member

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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::async and sisl::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.

Comment thread src/lib/homestore.cpp
@JacksonYao287
JacksonYao287 force-pushed the using-sisl-header branch 3 times, most recently from b13a107 to 152aede Compare September 16, 2026 06:31
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 7.93651% with 58 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (dev/v8.x@cebd6e9). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/lib/replication/repl_dev/raft_repl_dev.cpp 6.66% 8 Missing and 20 partials ⚠️
src/lib/checkpoint/cp_mgr.cpp 0.00% 1 Missing and 7 partials ⚠️
src/lib/logstore/log_dev.cpp 0.00% 0 Missing and 3 partials ⚠️
src/lib/replication/repl_dev/solo_repl_dev.cpp 40.00% 0 Missing and 3 partials ⚠️
src/lib/replication/service/raft_repl_service.cpp 0.00% 0 Missing and 3 partials ⚠️
src/lib/homestore.cpp 0.00% 0 Missing and 2 partials ⚠️
src/lib/index/wb_cache.cpp 0.00% 0 Missing and 2 partials ⚠️
.../lib/replication/log_store/home_raft_log_store.cpp 33.33% 0 Missing and 2 partials ⚠️
...rc/lib/replication/repl_dev/raft_state_machine.cpp 0.00% 2 Missing ⚠️
src/lib/blkalloc/blk_cache_queue.cpp 0.00% 0 Missing and 1 partial ⚠️
... and 4 more
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JacksonYao287

Copy link
Copy Markdown
Member Author

thanks @shosseinimotlagh for the review, I will merge it

@JacksonYao287
JacksonYao287 merged commit fe7b5d7 into eBay:dev/v8.x Sep 17, 2026
17 checks passed
@JacksonYao287
JacksonYao287 deleted the using-sisl-header branch September 17, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants