Permalink
Browse files

Build 0.90.11

Adds check that zone-count-reads > 0.
Otherwise, if the key is not found, it keeps doing gets in other zones.
  • Loading branch information...
1 parent 3f526bd commit 2254e41e7ad0c7f68f5734243e0735378dd22a5c @ctasada committed Jun 29, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 build.properties
  2. +2 −2 src/java/voldemort/store/routed/action/PerformSerialGetAllRequests.java
View
@@ -34,4 +34,4 @@ tomcat.manager.password=tomcat
tomcat.context=/voldemort
## Release
-curr.release=0.90.10
+curr.release=0.90.11
@@ -30,8 +30,8 @@
import voldemort.store.Store;
import voldemort.store.routed.GetAllPipelineData;
import voldemort.store.routed.Pipeline;
-import voldemort.store.routed.Response;
import voldemort.store.routed.Pipeline.Event;
+import voldemort.store.routed.Response;
import voldemort.utils.ByteArray;
import voldemort.utils.Time;
import voldemort.versioning.Versioned;
@@ -75,7 +75,7 @@ public void execute(Pipeline pipeline) {
MutableInt successCount = pipelineData.getSuccessCount(key);
if(successCount.intValue() >= preferred) {
- if(pipelineData.getZonesRequired() != null) {
+ if(pipelineData.getZonesRequired() != null && pipelineData.getZonesRequired() > 0) {
if(pipelineData.getKeyToZoneResponse().containsKey(key)) {
int zonesSatisfied = pipelineData.getKeyToZoneResponse().get(key).size();

0 comments on commit 2254e41

Please sign in to comment.