Is it possible to recover KV from WAL?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.6k
- Forks
- 595
- PR merge metrics
- No merged PRs in 30d
Description
According to our benchmarks, hybrid checkpoints (foldover) consume too much resources to make them often. As far as I know, KV uses FasterLog WAL internally. Is it possible to use the WAL commits for KV recovery? E.g. call commit each 100ms and make checkpoints only once per 10 seconds. Or may be the same effect could be achieved with the Log.Flush(true) each 100 ms?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names FasterLog WAL, KV recovery, hybrid (foldover) checkpoints, commit timing, and Log.Flush(true), but no files or tests. Start by tracing how WAL commits and Log.Flush(true) relate to KV recovery and checkpoint behavior; done would be a documented feasibility answer or a clearly scoped implementation plan.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100