Comments (1)
Good question!
Internally we have a command "expand" to expand a cluster. It uses existing APIs in rocksdb_admin.thrift to operate the hosts involved. At a high level, to move a shard from host A to B, we do the followings.
- backup the shard from A to HDFS.
- restore the shard from HDFS to B.
- remove the shard from host A.
We didn't include the command in the public repo because it requires some refactoring to remove the internal dependencies. Also, we are now working on an automatic cluster management system, which will take precedence over the current script based solution. We will make new cluster management system in the public repo once it's in production at Pinterest.
from rocksplicator.
Related Issues (20)
- request->need_rounter need to be set by set_need_routing(false) to prevent from infinite recursion HOT 2
- Build with Bazel HOT 1
- Host Docker image on Pinterest Docker account HOT 2
- Is it fine to initialize client_pool_ with an integer?
- is a ':' missing when setting class path at createVM?
- stateMap could be null when starting a resource from the very beginning
- how can ThriftRouter FileWatcher get the update from ConfigGenerator.java's post request?
- how to set hdfs_name_node?
- Unbale to build HOT 2
- Can rocksplicator support static compilation? HOT 2
- Abuout HotKeyDetector HOT 1
- Basic test on replicating RocksDB - lack of documentation HOT 1
- Why use fbthrift,not use apache thrift? HOT 2
- rocksplicator docker image build failed
- can rocksplicator work if disableWAL=true for the primary RocksDB? HOT 1
- consistency question for replication HOT 1
- Kazoo - Cannot fetch index base URL https://pypi.python.org/simple/
- How long does it cost to change slave into a master?
- Encryption At Rest
- Archiving rocksplicator project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocksplicator.