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 3f3b072f4c [ASTERIXDB-3401][STO] Change default cloud caching policy
to Selective
3f3b072f4c is described below
commit 3f3b072f4c9bc2f2f59c584209be7697518f1485
Author: Wail Alkowaileet <[email protected]>
AuthorDate: Mon May 20 17:15:13 2024 -0700
[ASTERIXDB-3401][STO] Change default cloud caching policy to Selective
- user model changes: yes
- storage format changes: no
- interface changes: no
Details:
Use 'selective' caching policy by default
Change-Id: Ic62d04b247ad1ced8f45014ccade2e1a20fc5f8d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18301
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
Tested-by: Jenkins <[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 597b9bae6b..b8ddc87ce9 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
@@ -14,7 +14,7 @@
"cloud.storage.allocation.percentage" : 0.8,
"cloud.storage.anonymous.auth" : false,
"cloud.storage.bucket" : "",
- "cloud.storage.cache.policy" : "lazy",
+ "cloud.storage.cache.policy" : "selective",
"cloud.storage.debug.mode.enabled" : false,
"cloud.storage.debug.sweep.threshold.size" : 1073741824,
"cloud.storage.disk.monitor.interval" : 60,
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 911732f8f1..3d92c44a60 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
@@ -14,7 +14,7 @@
"cloud.storage.allocation.percentage" : 0.8,
"cloud.storage.anonymous.auth" : false,
"cloud.storage.bucket" : "",
- "cloud.storage.cache.policy" : "lazy",
+ "cloud.storage.cache.policy" : "selective",
"cloud.storage.debug.mode.enabled" : false,
"cloud.storage.debug.sweep.threshold.size" : 1073741824,
"cloud.storage.disk.monitor.interval" : 60,
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 001ec5f545..5264d9d7ef 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
@@ -14,7 +14,7 @@
"cloud.storage.allocation.percentage" : 0.8,
"cloud.storage.anonymous.auth" : false,
"cloud.storage.bucket" : "",
- "cloud.storage.cache.policy" : "lazy",
+ "cloud.storage.cache.policy" : "selective",
"cloud.storage.debug.mode.enabled" : false,
"cloud.storage.debug.sweep.threshold.size" : 1073741824,
"cloud.storage.disk.monitor.interval" : 60,
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 4b80680bc3..dd90f1a17b 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
@@ -47,7 +47,7 @@ public class CloudProperties extends AbstractProperties {
CLOUD_STORAGE_REGION(STRING, ""),
CLOUD_STORAGE_ENDPOINT(STRING, ""),
CLOUD_STORAGE_ANONYMOUS_AUTH(BOOLEAN, false),
- CLOUD_STORAGE_CACHE_POLICY(STRING, "lazy"),
+ CLOUD_STORAGE_CACHE_POLICY(STRING, "selective"),
// 80% of the total disk space
CLOUD_STORAGE_ALLOCATION_PERCENTAGE(DOUBLE, 0.8d),
// 90% of the allocated space for storage (i.e., 90% of the 80% of the
total disk space)