This is an automated email from the ASF dual-hosted git repository.
mhubail 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 5f07db6efe [NO ISSUE][CONF] Change default metadata registration
timeout
5f07db6efe is described below
commit 5f07db6efe81bea8cf542439f8087508411f3c36
Author: Ritik Raj <[email protected]>
AuthorDate: Fri Jun 7 12:03:51 2024 +0530
[NO ISSUE][CONF] Change default metadata registration timeout
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- since the binding of metadata node is preceded by
operations such as localRecovery which requires
interacting with cloud where current default of
1min may fall short, hence updating it to 5mins.
Change-Id: Iaf86be0859b6524a09798790b344469eb6bd3874
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18348
Reviewed-by: Murtadha Hubail <[email protected]>
Integration-Tests: Jenkins <[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 +-
.../main/java/org/apache/asterix/common/config/MetadataProperties.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 57a14bda87..92df8f0c85 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
@@ -57,7 +57,7 @@
"metadata\.callback\.port" : 0,
"metadata\.listen\.port" : 0,
"metadata\.node" : "asterix_nc1",
- "metadata\.registration\.timeout\.secs" : 60,
+ "metadata\.registration\.timeout\.secs" : 300,
"replication\.enabled" : false,
"replication\.factor" : 2,
"replication\.log\.batchsize" : 4096,
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 09492ba143..4d3788760b 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
@@ -57,7 +57,7 @@
"metadata\.callback\.port" : 0,
"metadata\.listen\.port" : 0,
"metadata\.node" : "asterix_nc1",
- "metadata\.registration\.timeout\.secs" : 60,
+ "metadata\.registration\.timeout\.secs" : 300,
"replication\.enabled" : false,
"replication\.factor" : 2,
"replication\.log\.batchsize" : 4096,
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 58fc0dcaaf..3189a3ca05 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
@@ -57,7 +57,7 @@
"metadata\.callback\.port" : 0,
"metadata\.listen\.port" : 0,
"metadata\.node" : "asterix_nc1",
- "metadata\.registration\.timeout\.secs" : 60,
+ "metadata\.registration\.timeout\.secs" : 300,
"replication\.enabled" : false,
"replication\.factor" : 2,
"replication\.log\.batchsize" : 4096,
diff --git
a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/MetadataProperties.java
b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/MetadataProperties.java
index 252017f944..8d18bfd8e9 100644
---
a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/MetadataProperties.java
+++
b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/MetadataProperties.java
@@ -37,7 +37,7 @@ public class MetadataProperties extends AbstractProperties {
public enum Option implements IOption {
METADATA_NODE(STRING, null),
- METADATA_REGISTRATION_TIMEOUT_SECS(POSITIVE_INTEGER, 60),
+ METADATA_REGISTRATION_TIMEOUT_SECS(POSITIVE_INTEGER, 5 * 60),
METADATA_LISTEN_PORT(NONNEGATIVE_INTEGER, 0),
METADATA_CALLBACK_PORT(NONNEGATIVE_INTEGER, 0);