This is an automated email from the ASF dual-hosted git repository.

alsuliman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git

commit f43328f99b99ba33b6123da6b6cf4cf1d8d6f406
Author: Michael Blow <[email protected]>
AuthorDate: Mon May 6 19:55:16 2024 -0400

    [NO ISSUE][HYR][CONTROL] Avoid halt in event of interrupted registration
    
    Change-Id: I3577c0aa5a8358027146f2ac342a627d813894ca
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18268
    Reviewed-by: Michael Blow <[email protected]>
    Reviewed-by: Murtadha Hubail <[email protected]>
    Tested-by: Michael Blow <[email protected]>
---
 .../src/main/java/org/apache/hyracks/control/nc/CcConnection.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/src/main/java/org/apache/hyracks/control/nc/CcConnection.java
 
b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/src/main/java/org/apache/hyracks/control/nc/CcConnection.java
index d1f7d5ac87..c99898d6da 100644
--- 
a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/src/main/java/org/apache/hyracks/control/nc/CcConnection.java
+++ 
b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-nc/src/main/java/org/apache/hyracks/control/nc/CcConnection.java
@@ -70,6 +70,8 @@ public class CcConnection {
             InvokeUtil.runWithTimeout(() -> {
                 this.wait(REGISTRATION_RESPONSE_POLL_PERIOD); // NOSONAR while 
loop in timeout call
             }, () -> !registrationPending, 1, TimeUnit.MINUTES);
+        } catch (InterruptedException e) {
+            throw e;
         } catch (Exception e) {
             registrationException = e;
         }

Reply via email to