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

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


The following commit(s) were added to refs/heads/master by this push:
     new 139fb56f90 [ASTERIXDB-3387][STO] Fix inactive resource time threshold
139fb56f90 is described below

commit 139fb56f901c70c0191fa7e31bf486a7c2dc6067
Author: Wail Alkowaileet <[email protected]>
AuthorDate: Thu May 16 14:49:08 2024 -0700

    [ASTERIXDB-3387][STO] Fix inactive resource time threshold
    
    - user model changes: no
    - storage format changes: no
    - interface changes: no
    
    Details:
    The default value of CLOUD_STORAGE_INDEX_INACTIVE_DURATION_THRESHOLD
    should be 360 minites (6 hours) instead of 6 minutes.
    
    Change-Id: Ic53bb6dc8f3cbbd642fc1711327f2bae806a8a5f
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18294
    Integration-Tests: Jenkins <[email protected]>
    Integration-Tests: Murtadha Hubail <[email protected]>
    Reviewed-by: Murtadha Hubail <[email protected]>
    Tested-by: Murtadha Hubail <[email protected]>
---
 .../runtimets/results/api/cluster_state_1/cluster_state_1.1.regexadm    | 2 +-
 .../results/api/cluster_state_1_full/cluster_state_1_full.1.regexadm    | 2 +-
 .../results/api/cluster_state_1_less/cluster_state_1_less.1.regexadm    | 2 +-
 .../src/main/java/org/apache/asterix/common/config/CloudProperties.java | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1/cluster_state_1.1.regexadm
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1/cluster_state_1.1.regexadm
index 4c06994354..597b9bae6b 100644
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1/cluster_state_1.1.regexadm
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1/cluster_state_1.1.regexadm
@@ -19,7 +19,7 @@
     "cloud.storage.debug.sweep.threshold.size" : 1073741824,
     "cloud.storage.disk.monitor.interval" : 60,
     "cloud.storage.endpoint" : "",
-    "cloud.storage.index.inactive.duration.threshold" : 6,
+    "cloud.storage.index.inactive.duration.threshold" : 360,
     "cloud.storage.prefix" : "",
     "cloud.storage.region" : "",
     "cloud.storage.scheme" : "",
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1_full/cluster_state_1_full.1.regexadm
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1_full/cluster_state_1_full.1.regexadm
index 1d64adeb01..911732f8f1 100644
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1_full/cluster_state_1_full.1.regexadm
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1_full/cluster_state_1_full.1.regexadm
@@ -19,7 +19,7 @@
     "cloud.storage.debug.sweep.threshold.size" : 1073741824,
     "cloud.storage.disk.monitor.interval" : 60,
     "cloud.storage.endpoint" : "",
-    "cloud.storage.index.inactive.duration.threshold" : 6,
+    "cloud.storage.index.inactive.duration.threshold" : 360,
     "cloud.storage.prefix" : "",
     "cloud.storage.region" : "",
     "cloud.storage.scheme" : "",
diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1_less/cluster_state_1_less.1.regexadm
 
b/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1_less/cluster_state_1_less.1.regexadm
index aff2c778fe..001ec5f545 100644
--- 
a/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1_less/cluster_state_1_less.1.regexadm
+++ 
b/asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1_less/cluster_state_1_less.1.regexadm
@@ -19,7 +19,7 @@
     "cloud.storage.debug.sweep.threshold.size" : 1073741824,
     "cloud.storage.disk.monitor.interval" : 60,
     "cloud.storage.endpoint" : "",
-    "cloud.storage.index.inactive.duration.threshold" : 6,
+    "cloud.storage.index.inactive.duration.threshold" : 360,
     "cloud.storage.prefix" : "",
     "cloud.storage.region" : "",
     "cloud.storage.scheme" : "",
diff --git 
a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/CloudProperties.java
 
b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/CloudProperties.java
index 5c23f5cce4..4b80680bc3 100644
--- 
a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/CloudProperties.java
+++ 
b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/CloudProperties.java
@@ -53,7 +53,7 @@ public class CloudProperties extends AbstractProperties {
         // 90% of the allocated space for storage (i.e., 90% of the 80% of the 
total disk space)
         CLOUD_STORAGE_SWEEP_THRESHOLD_PERCENTAGE(DOUBLE, 0.9d),
         CLOUD_STORAGE_DISK_MONITOR_INTERVAL(POSITIVE_INTEGER, 60),
-        CLOUD_STORAGE_INDEX_INACTIVE_DURATION_THRESHOLD(POSITIVE_INTEGER, 6),
+        CLOUD_STORAGE_INDEX_INACTIVE_DURATION_THRESHOLD(POSITIVE_INTEGER, 360),
         CLOUD_STORAGE_DEBUG_MODE_ENABLED(BOOLEAN, false),
         CLOUD_STORAGE_DEBUG_SWEEP_THRESHOLD_SIZE(LONG_BYTE_UNIT, 
StorageUtil.getLongSizeInBytes(1, GIGABYTE)),
         CLOUD_PROFILER_LOG_INTERVAL(NONNEGATIVE_INTEGER, 0);

Reply via email to