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

Checkpoint: Hardlink #78

Open
ernitingarg opened this issue May 18, 2020 · 0 comments
Open

Checkpoint: Hardlink #78

ernitingarg opened this issue May 18, 2020 · 0 comments

Comments

@ernitingarg
Copy link

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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant