Permalink
Browse files

Manual cherry-pick

  • Loading branch information...
1 parent 8a6aba2 commit 294aed510f0629f87b1c71463246a3931d48facf @vinothchandar vinothchandar committed Nov 21, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/java/voldemort/store/routed/action/ConfigureNodes.java
@@ -94,11 +94,11 @@ public void execute(Pipeline pipeline) {
nodes = new ArrayList<Node>();
LinkedList<Integer> zoneProximityList = this.clientZone.getProximityList();
- if(pipeline.getOperation() != Operation.PUT
- && pipeline.getOperation() != Operation.DELETE) {
- // GET, GET_VERSIONS
+ if(pipeline.getOperation() != Operation.PUT) {
+ // GET, GET_VERSIONS, DELETE
- // Add a node from every zone, upto a max of zoneCountReads.
+ // Add a node from every zone, upto a max of
+ // zoneCountReads/zoneCountWrites.
for(int index = 0; index < pipelineData.getZonesRequired(); index++) {
List<Node> zoneNodes = zoneIdToNode.get(zoneProximityList.get(index));
if(zoneNodes != null && zoneNodes.size() > 0) {

0 comments on commit 294aed5

Please sign in to comment.