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.
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:-