Skip to content

fix: Remove wal from snapshot#897

Merged
scarmuega merged 2 commits intomainfrom
fix/dont-include-wal-on-snapshot
Feb 13, 2026
Merged

fix: Remove wal from snapshot#897
scarmuega merged 2 commits intomainfrom
fix/dont-include-wal-on-snapshot

Conversation

@gonzalezzfelipe
Copy link
Contributor

@gonzalezzfelipe gonzalezzfelipe commented Feb 12, 2026

Summary by CodeRabbit

  • Refactor
    • Removed WAL export functionality from the data export process. Archive, state, and index export paths remain fully operational.

@coderabbitai
Copy link

coderabbitai bot commented Feb 12, 2026

📝 Walkthrough

Walkthrough

Removed WAL (Write-Ahead Log) export functionality from the export command, including the prepare_wal function, WAL path handling, and related archive appending logic. Archive, state, and index export paths remain operational.

Changes

Cohort / File(s) Summary
WAL Export Removal
src/bin/dolos/data/export.rs
Eliminated prepare_wal function and all WAL-related path creation, filtering, and archive handling logic. Archive integrity checks and state/index exports preserved.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested reviewers

  • scarmuega

Poem

🐰 Hopping through the export code with glee,
WAL paths we bid farewell, now free!
Archive and index hop right along,
Simpler flow, streamlined and strong! 🌾

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: removing WAL (Write-Ahead Logging) export functionality from the snapshot export process.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/dont-include-wal-on-snapshot

No actionable comments were generated in the recent review. 🎉

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


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 and usage tips.

@scarmuega scarmuega merged commit 130a31a into main Feb 13, 2026
9 of 10 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.

2 participants