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

vjasani pushed a commit to branch 5.2
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/5.2 by this push:
     new 79ca6f703c PHOENIX-7339 HBase flushes with custom clock needs to 
disable remote procedure delay (#1916)
79ca6f703c is described below

commit 79ca6f703cdcc2b8c37d4ff7be394415ccd25c91
Author: Viraj Jasani <vjas...@apache.org>
AuthorDate: Mon Jun 24 15:46:44 2024 -0800

    PHOENIX-7339 HBase flushes with custom clock needs to disable remote 
procedure delay (#1916)
---
 .../it/java/org/apache/phoenix/end2end/IndexRepairRegionScannerIT.java   | 1 +
 .../java/org/apache/phoenix/end2end/IndexScrutinyWithMaxLookbackIT.java  | 1 +
 .../src/it/java/org/apache/phoenix/end2end/MaxLookbackExtendedIT.java    | 1 +
 phoenix-core/src/it/java/org/apache/phoenix/end2end/MaxLookbackIT.java   | 1 +
 phoenix-core/src/it/java/org/apache/phoenix/end2end/TableTTLIT.java      | 1 +
 5 files changed, 5 insertions(+)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRepairRegionScannerIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRepairRegionScannerIT.java
index 603e2c2cb0..ceecdfcc20 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRepairRegionScannerIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRepairRegionScannerIT.java
@@ -141,6 +141,7 @@ public class IndexRepairRegionScannerIT extends 
ParallelStatsDisabledIT {
         
props.put(QueryServices.GLOBAL_INDEX_ROW_AGE_THRESHOLD_TO_DELETE_MS_ATTRIB, 
Long.toString(0));
         // to force multiple verification tasks to be spawned so that we can 
exercise the page splitting logic
         
props.put(GlobalIndexRegionScanner.INDEX_VERIFY_ROW_COUNTS_PER_TASK_CONF_KEY, 
Long.toString(2));
+        props.put("hbase.procedure.remote.dispatcher.delay.msec", "0");
         setUpTestDriver(new ReadOnlyProps(props.entrySet().iterator()));
     }
 
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexScrutinyWithMaxLookbackIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexScrutinyWithMaxLookbackIT.java
index 114e6b68a7..bd42d65a45 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexScrutinyWithMaxLookbackIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexScrutinyWithMaxLookbackIT.java
@@ -81,6 +81,7 @@ public class IndexScrutinyWithMaxLookbackIT extends 
IndexScrutinyToolBaseIT {
         
props.put(QueryServices.GLOBAL_INDEX_ROW_AGE_THRESHOLD_TO_DELETE_MS_ATTRIB, 
Long.toString(0));
         
props.put(BaseScannerRegionObserverConstants.PHOENIX_MAX_LOOKBACK_AGE_CONF_KEY,
             Integer.toString(MAX_LOOKBACK));
+        props.put("hbase.procedure.remote.dispatcher.delay.msec", "0");
         setUpTestDriver(new ReadOnlyProps(props.entrySet().iterator()));
     }
 
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/MaxLookbackExtendedIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/MaxLookbackExtendedIT.java
index b8022087f7..8ade4e560e 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/MaxLookbackExtendedIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/MaxLookbackExtendedIT.java
@@ -87,6 +87,7 @@ public class MaxLookbackExtendedIT extends BaseTest {
         Map<String, String> props = Maps.newHashMapWithExpectedSize(2);
         
props.put(QueryServices.GLOBAL_INDEX_ROW_AGE_THRESHOLD_TO_DELETE_MS_ATTRIB, 
Long.toString(0));
         
props.put(BaseScannerRegionObserverConstants.PHOENIX_MAX_LOOKBACK_AGE_CONF_KEY, 
Integer.toString(MAX_LOOKBACK_AGE));
+        props.put("hbase.procedure.remote.dispatcher.delay.msec", "0");
         setUpTestDriver(new ReadOnlyProps(props.entrySet().iterator()));
     }
 
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/MaxLookbackIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/MaxLookbackIT.java
index e5e60a665a..1e07402e89 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/MaxLookbackIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/MaxLookbackIT.java
@@ -73,6 +73,7 @@ public class MaxLookbackIT extends BaseTest {
         
props.put(QueryServices.GLOBAL_INDEX_ROW_AGE_THRESHOLD_TO_DELETE_MS_ATTRIB, 
Long.toString(0));
         
props.put(BaseScannerRegionObserverConstants.PHOENIX_MAX_LOOKBACK_AGE_CONF_KEY, 
Integer.toString(MAX_LOOKBACK_AGE));
         props.put(QueryServices.PHOENIX_TABLE_TTL_ENABLED, 
Boolean.toString(Boolean.FALSE));
+        props.put("hbase.procedure.remote.dispatcher.delay.msec", "0");
         setUpTestDriver(new ReadOnlyProps(props.entrySet().iterator()));
     }
 
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TableTTLIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TableTTLIT.java
index b68e647706..59dea4e367 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TableTTLIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TableTTLIT.java
@@ -85,6 +85,7 @@ public class TableTTLIT extends BaseTest {
         Map<String, String> props = Maps.newHashMapWithExpectedSize(1);
         
props.put(QueryServices.GLOBAL_INDEX_ROW_AGE_THRESHOLD_TO_DELETE_MS_ATTRIB, 
Long.toString(0));
         
props.put(BaseScannerRegionObserverConstants.PHOENIX_MAX_LOOKBACK_AGE_CONF_KEY, 
Integer.toString(MAX_LOOKBACK_AGE));
+        props.put("hbase.procedure.remote.dispatcher.delay.msec", "0");
         setUpTestDriver(new ReadOnlyProps(props.entrySet().iterator()));
     }
 

Reply via email to