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

smiklosovic pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-sidecar.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 0a8b2b4d CASSSIDECAR-248: Do not emit warning on startup when 
initialDelay is configured to 0
0a8b2b4d is described below

commit 0a8b2b4deafed200c825bc19f87d361df1592e33
Author: Stefan Miklosovic <smikloso...@apache.org>
AuthorDate: Fri May 16 19:02:14 2025 +0200

    CASSSIDECAR-248: Do not emit warning on startup when initialDelay is 
configured to 0
    
    patch by Stefan Miklosovic; reviewed by Francisco Guerrero for 
CASSSIDECAR-248
---
 CHANGES.txt                                                             | 1 +
 .../cassandra/sidecar/config/yaml/PeriodicTaskConfigurationImpl.java    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index f78a275c..4cf84bce 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,6 @@
 0.2.0
 -----
+ * Do not emit warning on startup when initialDelay is configured to 0 
(CASSSIDECAR-248)
  * Improved Documentation on IDE Integration (CASSSIDECAR-227)
  * Schema Reporting Metrics Improvements (CASSSIDECAR-231)
  * Add a Sidecar period task to monitor and delete commit log segments in the 
cdc_raw directory (CASSSIDECAR-220)
diff --git 
a/server/src/main/java/org/apache/cassandra/sidecar/config/yaml/PeriodicTaskConfigurationImpl.java
 
b/server/src/main/java/org/apache/cassandra/sidecar/config/yaml/PeriodicTaskConfigurationImpl.java
index 6ee982c7..a70c5ff4 100644
--- 
a/server/src/main/java/org/apache/cassandra/sidecar/config/yaml/PeriodicTaskConfigurationImpl.java
+++ 
b/server/src/main/java/org/apache/cassandra/sidecar/config/yaml/PeriodicTaskConfigurationImpl.java
@@ -101,7 +101,7 @@ public class PeriodicTaskConfigurationImpl implements 
PeriodicTaskConfiguration
     {
         if (initialDelay != null)
         {
-            if (initialDelay.compareTo(MillisecondBoundConfiguration.ZERO) > 0)
+            if (initialDelay.compareTo(MillisecondBoundConfiguration.ZERO) >= 
0)
             {
                 this.initialDelay = initialDelay;
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to