HewlettPackard / HewlettPackard/foedus_code

Snapshot file compaction and truncation

Open
#22 0 comments 0 reactions 1 assignee Claimed by @hkimura View on GitHub
missing-feature
Dominant language
C++
Stars
64
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Currently all snapshot files must be kept forever.
What we should have is a feature to occasionally migrate "ancient" snapshot pages to new snapshots so that we can delete old snapshot files.

We need some kind of statistics to see when we should trigger it, and have to think about the API to expose the feature. This a big TODO.

In the meantime, it might be okay to have a tentative "compact-all" feature to migrate all snapshot pages to a single new snapshot, and delete all snapshot files.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.