https://github.com/voldemort/voldemort
Revision 622ee42d51ce0eb856c7064b5e813b0e199ac15c authored by Jay J Wylie on 03 May 2013, 17:43:14 UTC, committed by Jay J Wylie on 20 June 2013, 23:08:22 UTC
AdminClient
- Fix latent bug that treated node ids as dense/contiguous

RebalanceclusterPlan
- minor refactor

RebalanceController
- handle the case of an "empty" plan differently. Because unneccessary moves are optimized out at plan time, some of the small tests now yield plans with no data movement. I.e., primary partition IDs move among nodes, but data does not because all nodes already host all data. This exposed a corner case in which rebalance was successful, but servers never updated their cluster xml with new partitoin ID mapping.
- Removed random/unnecessary 10s sleep from control path. Annotated with a TODO for discussion to confirm this is right thing to do.

DonorBasedRebalanceAsyncOperation
- minor code clarification

DonorBasedRebalancePusherSlave
- Fixed latent bug (wrong value passed to sleep). Added TODO wondering why this sleep is here in the first place.

StorageEngine
- How are isPartitoinScanSupported() and isPartitionAware() related?

PartitionPrefixedBdbStorageEngine
- add isPartitionAware that returns true. Is this correct!?

AdminRebalanceTest
- Commented out asserts that test deletion during rebalancing

ZonedRebalanceTest
- Removed donor-based rebalancing tests from this test suite.
1 parent 03453dc
History
Tip revision: 622ee42d51ce0eb856c7064b5e813b0e199ac15c authored by Jay J Wylie on 03 May 2013, 17:43:14 UTC
Fixed broken junit tests. Documented and commented out other parts of unit tests that rely on donor-based rebalancing or that rely on partition-stores being deleted during rebalance. Both features are currently (necessarily) broken.
Tip revision: 622ee42
File Mode Size
.settings
bin
clients
config
contrib
docs
example
lib
src
test
.classpath -rw-r--r-- 4.1 KB
.gitignore -rw-r--r-- 196 bytes
.project -rw-r--r-- 426 bytes
CONTRIBUTORS -rw-r--r-- 624 bytes
LICENSE -rw-r--r-- 11.1 KB
NOTES -rw-r--r-- 2.5 KB
NOTICE -rw-r--r-- 8.1 KB
README.md -rw-r--r-- 3.5 KB
build.properties -rw-r--r-- 1.1 KB
build.xml -rw-r--r-- 18.9 KB
release_notes.txt -rw-r--r-- 27.1 KB
tomcat-tasks.properties -rw-r--r-- 420 bytes
web.xml -rw-r--r-- 1.1 KB

README.md

back to top