Permalink
Browse files

Use storeroutingplan to get master partition id

  • Loading branch information...
1 parent 1e588c5 commit d2d9b66c2b14bd4fd9eb1966df924fa9e55a9411 @voldemort committed Aug 2, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/java/voldemort/utils/KeyVersionFetcherCLI.java
@@ -226,6 +226,7 @@ public String toString() {
public String call() throws Exception {
String storeName = storeRoutingPlan.getStoreDefinition().getName();
List<Integer> replicatingNodeIds = storeRoutingPlan.getReplicationNodeList(key);
+ int masterPartitionId = storeRoutingPlan.getMasterPartitionId(key);
ZoneToNaryToString zoneToNaryToString = new ZoneToNaryToString();

0 comments on commit d2d9b66

Please sign in to comment.