You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ni...@apache.org on 2022/12/30 11:30:00 UTC

[ignite] branch master updated: IGNITE-18473 Add InterruptedException handling in CdcCommandLineStartup#main (#10466)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e9dbca192e3 IGNITE-18473 Add InterruptedException handling in CdcCommandLineStartup#main (#10466)
e9dbca192e3 is described below

commit e9dbca192e3cf0dc68a6b5614ff0dd1a191c3d61
Author: Ilya Shishkov <sh...@gmail.com>
AuthorDate: Fri Dec 30 14:29:48 2022 +0300

    IGNITE-18473 Add InterruptedException handling in CdcCommandLineStartup#main (#10466)
---
 .../java/org/apache/ignite/startup/cmdline/CdcCommandLineStartup.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CdcCommandLineStartup.java b/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CdcCommandLineStartup.java
index c390f95338f..5a62bf58848 100644
--- a/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CdcCommandLineStartup.java
+++ b/modules/core/src/main/java/org/apache/ignite/startup/cmdline/CdcCommandLineStartup.java
@@ -94,6 +94,9 @@ public class CdcCommandLineStartup {
 
             appThread.join();
         }
+        catch (InterruptedException ignore) {
+            X.error("CDC was interrupted.");
+        }
         catch (Throwable e) {
             e.printStackTrace();