facebook / facebook/rocksdb

Add support for taking snapshot of a column family and creating column family from a given CF snapshot.

Open
#3,469 7 comments 11 reactions 1 assignee Claimed by @siying View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

When building a distributed key value store on top of rocksdb a useful feature is to be able to migrate a column family from one node to another. For this it will be useful to have APIs to
a. Generate a snapshot of a column family. This could be implemented by flushing the memtable and giving handles to all the sstables of the column family with their metadata information.
b. Create a column family from a snapshot. The snapshot can be transferred by the caller by copying the files and the metadata information and then it can call this API to create a column family with identical state as the sender.

Pls let us know if something for above already exists or can be extended or if anyone is planning to work on this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.