Skip to content

Dev/v8.x#897

Open
szmyd wants to merge 6 commits into
eBay:dev/v8.xfrom
szmyd:dev/v8.x
Open

Dev/v8.x#897
szmyd wants to merge 6 commits into
eBay:dev/v8.xfrom
szmyd:dev/v8.x

Conversation

@szmyd

@szmyd szmyd commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Keep v8 functionality in-sync with v7.

xiaoxichen and others added 3 commits June 24, 2026 14:21
Previously fetch_pending_data shared the raft_repl_svc_timer fiber with
flush_durable_commit_lsn, gc_repl_*, and monitor_replace_member_*. When
flush_durable_commit_lsn blocked on synchronous metablk I/O (under
m_rd_map_mtx), queued fetch batches sat past consensus.data_receive_timeout_ms
(10s), tripping the 'Data fetch timeout' assertion / TIMEOUT path.

Spawn a dedicated raft_repl_fetcher reactor (1 fiber) that owns only the
fetch timer. Queue and locking stay global; only the consumer thread changes.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
Normally commit_blk is called either during recovery (which advances
both watermarks) or after a fresh alloc. However, in some scenarios, a
blk_id may be recorded to be live by the caller but the allocator
watermarks have not been successfully persisted. The new `recommit`
parameter allows the caller to unconditionally advance both
m_last_append_offset and m_commit_offset, covering such cases without
requiring the system to be in initialising mode.

Signed-off-by: Kou, Jilong <jkou@ebay.com>
@szmyd
szmyd requested a review from xiaoxichen July 15, 2026 18:19
@szmyd
szmyd requested a review from koujl July 15, 2026 18:21
@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 61.90476% with 8 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (dev/v8.x@b57df23). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/lib/replication/service/raft_repl_service.cpp 60.00% 0 Missing and 6 partials ⚠️
src/lib/blkdata_svc/blkdata_service.cpp 66.66% 1 Missing ⚠️
src/lib/device/virtual_dev.cpp 66.66% 0 Missing and 1 partial ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             dev/v8.x     #897   +/-   ##
===========================================
  Coverage            ?   46.35%           
===========================================
  Files               ?      113           
  Lines               ?    12373           
  Branches            ?     5817           
===========================================
  Hits                ?     5736           
  Misses              ?     3082           
  Partials            ?     3555           

☔ 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.

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