Fix for problems on metadata change with less nodes
commit47e9ac8abf534fee8bb03f2651f304eb33b56dc2
authorZhongjie Wu <www.zj30@gmail.com>
Tue, 17 Dec 2013 23:44:15 +0000 (17 15:44 -0800)
committerZhongjie Wu <www.zj30@gmail.com>
Sat, 4 Jan 2014 00:20:41 +0000 (3 16:20 -0800)
tree9ebf58e2eef104170b6f3105027ecd98949a28a0
parent511e2c36666595d9a03e7d72cc85f1bd7bb0a65f
Fix for problems on metadata change with less nodes

1. Check for node existence in InvalidMetadataCheckingStore and
throw InvalidMetadataException if specified node is not in the cluster
2. Have ZenStoreClient rebootstrap when getting InvalidMetadataException.
This fixes if the new cluster does not have a node that ZenStoreClient query
data from, it would throw Exception.
src/java/voldemort/client/scheduler/AsyncMetadataVersionManager.java
src/java/voldemort/store/StoreUtils.java
src/java/voldemort/store/invalidmetadata/InvalidMetadataCheckingStore.java