Skip to content

Checkpoint: Hardlink #78

@ernitingarg

Description

@ernitingarg

I have an issue while using checkpoint .

When i create checkpoint by providing a sub directory (eg: c:\rocksdb\checkpointdb), i could see all the sst files have been copied from 'rocksdb' to 'checkpointdb', seems like hardlink is not working bydefault ?

As per the document https://github.com/facebook/rocksdb/wiki/Checkpoints ,if the snapshot is on the same filesystem as the original database, the SST files will be hard-linked, otherwise SST files will be copied. The manifest and CURRENT files will be copied.

However i have 2 questions:-

  1. Am i missing something not to have hardlink ?
  2. How to implement "incremental" checkpoint?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions