microsoft / microsoft/FASTER

Is it possible to recover KV from WAL?

Open
#925 1 comment 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.