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

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


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

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

    PHOENIX-7806 Fix permission tests (ADDENDUM) (#2424)
---
 .../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 7264e3a8b7..4f8622aacc 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