Skip to content

fix(persistence): recognize streams present in either tier - #623

Open
nmummau wants to merge 1 commit into
Eventuous:devfrom
nmummau:fix/issue-609-tiered-store
Open

nmummau wants to merge 1 commit into
Eventuous:devfrom
nmummau:fix/issue-609-tiered-store

Conversation

@nmummau

@nmummau nmummau commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Use either tier for existence checks and probe read-only archives according to the IEventReader missing-stream contract. Preserve failures and cancellation; an empty existing stream still exists.

Exercise bounded reads across tiers and hot-only writes, truncation, and deletion. Five regressions failed before the fix. All 36 application tests now pass on net10.0; TieredEventStore line coverage is 19/20.

Fixes #609
Fixes #612

Use either tier for existence checks and probe read-only archives according to the IEventReader missing-stream contract. Preserve failures and cancellation; an empty existing stream still exists.

Exercise bounded reads across tiers and hot-only writes, truncation, and deletion. Five regressions failed before the fix. All 36 application tests now pass on net10.0; TieredEventStore line coverage is 19/20.

Fixes Eventuous#609
@github-actions

Copy link
Copy Markdown

Test Results

   48 files  ± 0     48 suites  ±0   14m 12s ⏱️ - 1m 27s
  632 tests +15    632 ✅ +15  0 💤 ±0  0 ❌ ±0 
1 279 runs  +45  1 279 ✅ +45  0 💤 ±0  0 ❌ ±0 

Results for commit c4a047b. ± Comparison against base commit 60a7643.

@nmummau

nmummau commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

/review

@qodo-free-for-open-source-projects

Copy link
Copy Markdown
Contributor

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can switch off images and animations for a plain-text comment

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

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.

TieredEventStore reports existing streams as missing Verify tiered event-store existence and write-routing behavior

1 participant