Skip to content

Feature/control improvements#84

Merged
tislib merged 11 commits into
masterfrom
feature/control-improvements
May 12, 2026
Merged

Feature/control improvements#84
tislib merged 11 commits into
masterfrom
feature/control-improvements

Conversation

@tislib
Copy link
Copy Markdown
Owner

@tislib tislib commented May 12, 2026

No description provided.

tislib added 11 commits May 12, 2026 12:27
- Update replication flow to handle tailer resets on timeout and improve logging for tail and append-entry flows.
- Adjust `poll_ledger_watermark` and `advance_commit_index` for monotonic commit ordering and invariants preservation.
- Modify test `advance_write_below_commit_is_noop` to reflect updated replication behavior.
- Add new cluster test `cluster_commit_advances_under_burst` to validate commit progression under high transaction load.
- Refactor WAL tailing logic and add tests for segment-to-active tail behavior, ensuring correctness in cross-segment reads.
- Update enums and types for consistent state representation.
- Simplify `txStatusFromPb` to only consume `fail_reason` from per-tx polling.
- Add `waitStatusFromPb` for processing wait state in blocking-poll loops.
- Refactor `TransactionStatus` to separate pipeline stage and fail reason.
- Introduce `WaitStatus` and `isWaitTerminal` for consistent wait state handling.
- Update `waitForTransaction` and `getTransactionStatus` to use revised types.
- Introduce `usePipelineIndices` for leader index retrieval with sticky mid-election state.
- Update transaction and wait models:
  - Decouple pipeline stage and failure reason.
  - Add `WaitStatus` and terminal state utility.
- Update mocks, simulators, and tests for new state handling and error propagation.
- Refactor replication logic to address tail reset issues and improve append-entry flow.
@tislib tislib merged commit 01f3d6e into master May 12, 2026
5 of 6 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