Registry Mirror
Skip to content

Conversation

@beinan

@beinan beinan commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

A slow request-drain round can leave a new proposal waiting behind later control work before replication starts. End the drain batch when its configurable time budget is reached, while retaining the existing command-count bound. The default is 1 ms, checked between rounds; a single blocking operation can exceed it.

The RF3 regression holds two control requests around an append, verifies replication starts before the second request is released, then reopens all three engines and checks the committed bytes. Existing quorum, persistence and apply conditions for ACK are preserved.

Refs #378.

Testing

  • Workspace formatting, Clippy and tests; existing Python test, formatting, lint and type checks passed.
  • WAL and ingest service Clippy passed for all targets.
  • The slow-round RF3 regression and the committed-fetch/failed-sync regression passed at this head.
  • A separate instrumented synthetic run of the scheduling change completed sustained mixed ingestion, annotation updates and point reads, then drained. After a test-controller shutdown-observation timeout, the original persisted values and native index coverage were audited after reopening the WAL replicas, without resubmitting writes. All original and audit processes were confirmed stopped.

The sustained result includes this recovery audit, rather than a clean controller completion. This change does not claim a throughput limit or latency deadline.

@beinan
beinan marked this pull request as ready for review October 31, 2026 06:02
@beinan
beinan merged commit 08426b7 into lance-format:main Oct 31, 2026
14 checks passed
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.

1 participant