Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]nydus-image: support chunk level deduplication between local images #956

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 13, 2022

  1. [WIP]nydus-image: support chunk level deduplication between local images

    Add the dedup option to nydus-image to support block level deduplication
    between local images. A local database cas.db was introduced, which records
    all chunks saved locally. Then We can redirect the chunks to those that already
    exist locally to avoid duplicate downloads.
    
    There is still some work needs to be done, including:
    1. Insert the on-demand downloaded chunk into the database to ensure that
    the database stores locally existing chunks.
    2. Snapshotter's GC mechanism with the reference relationship of bootstrap
    after deduplication.
    
    Signed-off-by: Huang Jianan <[email protected]>
    mofishzz committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    487141e View commit details
    Browse the repository at this point in the history