Repository: asterixdb
Updated Branches:
  refs/heads/master 517e1d27b -> 39256dfb6


[NO ISSUE][STO] Stop After First Successful Checkpoint Write

- user model changes: no
- storage format changes: no
- interface changes: no

Change-Id: Idaaa01dd7c6db03f25a496d1ff7a71a1488d5fff
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2457
Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: abdullah alamoudi <bamou...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/39256dfb
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/39256dfb
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/39256dfb

Branch: refs/heads/master
Commit: 39256dfb6b663c3d3e822febaeadeec71261cd23
Parents: 517e1d2
Author: Murtadha Hubail <mhub...@apache.org>
Authored: Tue Mar 6 17:15:59 2018 +0300
Committer: Murtadha Hubail <mhub...@apache.org>
Committed: Tue Mar 6 10:04:38 2018 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/asterix/app/nc/IndexCheckpointManager.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/39256dfb/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/nc/IndexCheckpointManager.java
----------------------------------------------------------------------
diff --git 
a/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/nc/IndexCheckpointManager.java
 
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/nc/IndexCheckpointManager.java
index d3ef028..a012f1e 100644
--- 
a/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/nc/IndexCheckpointManager.java
+++ 
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/nc/IndexCheckpointManager.java
@@ -157,6 +157,7 @@ public class IndexCheckpointManager implements 
IIndexCheckpointManager {
                 }
                 // ensure it was written correctly by reading it
                 read(checkpointPath);
+                return;
             } catch (IOException e) {
                 if (i == MAX_CHECKPOINT_WRITE_ATTEMPTS) {
                     throw HyracksDataException.create(e);

Reply via email to