Skip to content

Instantly share code, notes, and snippets.

@rsumbaly
Created April 20, 2011 16:48
Show Gist options
  • Save rsumbaly/931874 to your computer and use it in GitHub Desktop.
Save rsumbaly/931874 to your computer and use it in GitHub Desktop.
a) Rollback-able - done
b) A version dedicated to rebalancing OR have a version for every primary partition movement ( 2nd one goes against (a) )
c) Check that all read-only stores have v2 - when checking for "normal state"
d) Move the retrieval of RO folders to the per stealer level?
e) Move only the correct set of data - add that to rebalance cluster plan [ Important for both RO and RW ]
f) Check for zone routing - copy from the same zone? - TODO
g) In the "createRebalancePartitionsInfo" function, need to actually return replica and replica_type. Then when finding places to get it from, put "zone_logic" in
h) Add a "--verify" function to rebalancing - After every primary partition migration, does a check!- TODO
i) Problem with RebalanceClusterPlan - TODO
j) Check if the RO store works correctly for different rep factors - TODO
k) Move only if the key distribution is fair - TODO
l) JMX to clean the state - TODO
@rsumbaly
Copy link
Author

Final decision
a) Move the rebalanced file to a totally different folder name - .rebalance . Rename it to the max version directory during the swap

@rsumbaly
Copy link
Author

rsumbaly commented May 5, 2011

a) Delete at the end...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment