Murtadha Hubail has submitted this change and it was merged.

Change subject: [NO ISSUE][REPL] Attempt to Close Replication Channel Quietly
......................................................................


[NO ISSUE][REPL] Attempt to Close Replication Channel Quietly

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

Change-Id: I69af20aa76682b6d28f5c73f21be6db77117896d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2870
Sonar-Qube: Jenkins <[email protected]>
Reviewed-by: Michael Blow <[email protected]>
Contrib: Michael Blow <[email protected]>
Integration-Tests: Michael Blow <[email protected]>
Tested-by: Michael Blow <[email protected]>
---
M 
asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/api/PartitionReplica.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins: No violations found
  Michael Blow: Looks good to me, approved; Verified; No violations found; 
Verified



diff --git 
a/asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/api/PartitionReplica.java
 
b/asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/api/PartitionReplica.java
index 5c324b1..8847e7e 100644
--- 
a/asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/api/PartitionReplica.java
+++ 
b/asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/api/PartitionReplica.java
@@ -169,7 +169,7 @@
     private void sendGoodBye() {
         try {
             ReplicationProtocol.sendGoodbye(sc);
-        } catch (IOException e) {
+        } catch (Exception e) {
             LOGGER.warn("Failed to send good bye to {}", this, e);
         }
     }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I69af20aa76682b6d28f5c73f21be6db77117896d
Gerrit-PatchSet: 2
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Murtadha Hubail <[email protected]>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Michael Blow <[email protected]>
Gerrit-Reviewer: Murtadha Hubail <[email protected]>

Reply via email to