asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murtadha Hubail (Code Review)" <do-not-re...@asterixdb.incubator.apache.org>
Subject Change in asterixdb[master]: [ASTERIXDB-2042][CLUS] Handle Reporting Startup Completion F...
Date Wed, 16 Aug 2017 15:54:26 GMT
Murtadha Hubail has uploaded a new change for review.

  https://asterix-gerrit.ics.uci.edu/1945

Change subject: [ASTERIXDB-2042][CLUS] Handle Reporting Startup Completion Failure
......................................................................

[ASTERIXDB-2042][CLUS] Handle Reporting Startup Completion Failure

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

Details:
- if the NC fails to report its startup completion message,
  to the CC, shut it down so that it can be restarted again
  when the CC is back up.

Change-Id: Ia69efb1538e57242a0a69ac1a0158a5be06ab866
---
M asterixdb/asterix-app/src/main/java/org/apache/asterix/app/replication/message/StartupTaskResponseMessage.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/45/1945/1

diff --git a/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/replication/message/StartupTaskResponseMessage.java
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/replication/message/StartupTaskResponseMessage.java
index 1611507..9125857 100644
--- a/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/replication/message/StartupTaskResponseMessage.java
+++ b/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/replication/message/StartupTaskResponseMessage.java
@@ -63,6 +63,7 @@
             try {
                 broker.sendMessageToCC(result);
             } catch (Exception e) {
+                success = false;
                 LOGGER.log(Level.SEVERE, "Failed sending message to cc", e);
             }
         } finally {

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/1945
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia69efb1538e57242a0a69ac1a0158a5be06ab866
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Murtadha Hubail <mhubail@apache.org>

Mime
View raw message