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

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


The following commit(s) were added to refs/heads/5.3 by this push:
     new c34596b45f PHOENIX-7806 Fix permission tests (ADDENDUM) (#2425)
c34596b45f is described below

commit c34596b45fb7da4c1d0409ad9b714ec00860826f
Author: Viraj Jasani <[email protected]>
AuthorDate: Mon Apr 27 10:27:48 2026 -0700

    PHOENIX-7806 Fix permission tests (ADDENDUM) (#2425)
---
 .../it/java/org/apache/phoenix/end2end/BasePermissionsIT.java  | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
index ec5992b50a..9d2c4931aa 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
@@ -186,6 +186,16 @@ public abstract class BasePermissionsIT extends BaseTest {
     configureNamespacesOnServer(config, isNamespaceMapped);
     configureStatsConfigurations(config);
     config.setBoolean(LocalHBaseCluster.ASSIGN_RANDOM_PORTS, true);
+    // Restore pre-2.5.14 RPC scheduling defaults to avoid circular RPC 
deadlock
+    // where RS handler -> Master (getUserPermissions) -> RS (Get on hbase:acl)
+    // HBASE-29837 changed MetaRWQueueRpcExecutor defaults causing handler 
starvation
+    config.setFloat("hbase.ipc.server.metacallqueue.scan.ratio", 0f);
+    config.setFloat("hbase.ipc.server.metacallqueue.read.ratio", 0.9f);
+    config.setFloat("hbase.ipc.server.metacallqueue.handler.factor", 0.1f);
+    // HBASE-29141 changed queue length defaults to -1 (per-handler 
calculation),
+    // restore explicit queue length to avoid undersized queues with few 
handlers
+    config.setInt("hbase.ipc.server.max.callqueue.length", 1024);
+    config.setInt("hbase.ipc.server.priority.max.callqueue.length", 1024);
     BaseTest.setPhoenixRegionServerEndpoint(config);
 
     testUtil.startMiniCluster(1);

Reply via email to