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

namelchev 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 a1908eda760 IGNITE-22173 Added logging for CDC mode switching (#11340)
a1908eda760 is described below

commit a1908eda760ec7e22d1c37a6446bd809f62175e8
Author: Aleksandr Nikolaev <56360298+nao...@users.noreply.github.com>
AuthorDate: Tue May 7 11:22:18 2024 +0300

    IGNITE-22173 Added logging for CDC mode switching (#11340)
    
    Co-authored-by: Aleksandr Nikolaev <nao...@yandex.ru>
---
 modules/core/src/main/java/org/apache/ignite/internal/cdc/CdcMain.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/cdc/CdcMain.java 
b/modules/core/src/main/java/org/apache/ignite/internal/cdc/CdcMain.java
index eb52d2eed5f..c76f41fe54c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/cdc/CdcMain.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/cdc/CdcMain.java
@@ -641,6 +641,9 @@ public class CdcMain implements Runnable {
                     case CDC_MANAGER_STOP_RECORD:
                         state.saveCdcMode((cdcModeState = 
CdcMode.CDC_UTILITY_ACTIVE));
 
+                        if (log.isInfoEnabled())
+                            log.info("CDC mode switched [mode=" + cdcModeState 
+ ']');
+
                         return true;
 
                     default:

Reply via email to