Skip to content

release: v0.8.2 — storage kernel unification (W1–W6) + millisecond-TTL fidelity - #404

Merged
TinDang97 merged 1 commit into
mainfrom
release/v0.8.2
Jul 20, 2026
Merged

release: v0.8.2 — storage kernel unification (W1–W6) + millisecond-TTL fidelity#404
TinDang97 merged 1 commit into
mainfrom
release/v0.8.2

Conversation

@TinDang97

Copy link
Copy Markdown
Collaborator

Patch release rolling up the storage-unification stacked train (#396#401) and the db.rs directory split (#403). See the [0.8.2] CHANGELOG section and the RELEASES.md row for the full inventory.

Headline: one storage codebase — one value codec, one spill pipeline, one eviction entry point, one typed-accessor skeleton — plus a user-visible correctness fix: millisecond-TTL keys no longer expire up to 999 ms early.

Release gate (soak-first-then-tag): crash-matrix nightly (full 46-cell matrix) + soak (ITERS=20) dispatched on RC 6c213fd3run 29722738223 / run 29722739596. Merge + tag only after both are green.

A/B validation (moon-dev VM, v0.8.1 vs RC, alternating rounds): p=1 SET/GET parity-or-better; eviction-plain faster in every paired round; offload-spill +3%; p=16 within machine noise.

…L fidelity

Patch release rolling up the storage-unification stacked train
(#396#401) and the follow-up db.rs directory split (#403).

Correctness: millisecond-TTL keys no longer expire up to 999 ms early
(CompactEntry stored expiry as ms/1000-floored seconds; now absolute
Unix ms end-to-end, exact PTTL readback, exact-ms RDB round-trips).

Unification (behavior-preserving, pinned by golden byte-spec tests):
one value codec behind RDB/spill/kv_serde with fail-closed corrupt
decode + DoS count guards on every path; one spill pipeline — sync
eviction batches victims into shared files (~N/256 manifest fsyncs
instead of N per-key) and retains unserializable victims fail-closed;
one eviction entry point (evict_to_budget + EvictionRun/EvictionSink,
was 13 variants / 5 reclaim-loop copies); one typed-accessor skeleton
(storage::db_kind static-dispatch markers); AofShardManifest rename;
db.rs split into db/{mod,hash_ttl,kv_ops,accessors}.rs.

Validation: same-VM A/B v0.8.1-vs-main — p=1 parity-or-better,
eviction-plain faster every paired round, spill +3%, p=16 within
noise. Release gate: crash-matrix nightly full matrix + ITERS=20
soak dispatched on the RC, green before tag (soak-first-then-tag).

Rolls CHANGELOG [Unreleased] into [0.8.2], bumps Cargo.toml/lock,
adds the RELEASES.md row, updates the README milestone table.

author: Tin Dang
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@TinDang97, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 56 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 50631d0e-ae1b-4b37-b3e6-b6d6ca139ccd

📥 Commits

Reviewing files that changed from the base of the PR and between 6c213fd and d6a951b.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • CHANGELOG.md
  • Cargo.toml
  • README.md
  • RELEASES.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/v0.8.2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@TinDang97
TinDang97 merged commit 5db9629 into main Jul 20, 2026
10 checks passed
@TinDang97
TinDang97 deleted the release/v0.8.2 branch July 20, 2026 07:22
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