You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/02/19 04:22:00 UTC
[jira] [Updated] (HBASE-28238) rpcservice should perform some important admin operation to priority ADMIN_QOS
[ https://issues.apache.org/jira/browse/HBASE-28238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HBASE-28238:
-----------------------------------
Labels: pull-request-available (was: )
> rpcservice should perform some important admin operation to priority ADMIN_QOS
> ------------------------------------------------------------------------------
>
> Key: HBASE-28238
> URL: https://issues.apache.org/jira/browse/HBASE-28238
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 2.5.0
> Reporter: selina.yan
> Assignee: selina.yan
> Priority: Minor
> Labels: pull-request-available
>
> some important admin operations should be admin priority,like compactionSwitch,rollWALWriter,updateConfiguration.
> these operations called by admin should be considered a higher priority operation and given to the priority queue, but is currently considered to have the same priority as read or write requests. If the handle is occupied, the operations cannot be execute successful. For example, in our scenario, some abnormal phoenix sql is killed by controlling the amount of data that scan can filter with dynamic parameters. Abnormal sql often results in a full handle. In this case, the configuration cannot be dynamically modified to implement emergency traffic limiting.
> {code:java}
> @Override
> @QosPriority(priority = HConstants.ADMIN_QOS)
> public UpdateConfigurationResponse updateConfiguration(
> RpcController controller, UpdateConfigurationRequest request)
> throws ServiceException {{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)