microsoft / FASTER

Fast persistent recoverable log and key-value store + cache, in C# and C++.
https://aka.ms/FASTER
MIT License
6.29k stars 563 forks source link

store.TakeFullCheckpointAsync(CheckpointType.FoldOver) stucks forever #887

Closed wangjia184 closed 9 months ago

wangjia184 commented 10 months ago

I tried the following line to dump a full checkpoint, and it stucks forever. No error, no exception.

await store.TakeFullCheckpointAsync(CheckpointType.FoldOver)

After changing to the following approach, it works well.

await store.TakeHybridLogCheckpointAsync(CheckpointType.Snapshot, tryIncremental: false);

Why does it stuck?

badrishc commented 9 months ago

Hard to say without a repro. It works fine in our tests. Feel free to reopen if you have a stand alone repro to share.