Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 2254e41e7ad0c7f68f5734243e0735378dd22a5c 1 parent 3f526bd
@ctasada authored
View
2  build.properties
@@ -34,4 +34,4 @@ tomcat.manager.password=tomcat
tomcat.context=/voldemort
## Release
-curr.release=0.90.10
+curr.release=0.90.11
View
4 src/java/voldemort/store/routed/action/PerformSerialGetAllRequests.java
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.