[
https://issues.apache.org/jira/browse/HBASE-18109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037887#comment-16037887
]
Yi Liang commented on HBASE-18109:
----------------------------------
Hi Stack,
Thanks for your comments and insights, I Just check FairQueue#poll() in
MasterProcedureScheduler, this FairQueue control how Procedure get pop out of
scheduler to be executed. This FairQueue can make sure that
{quote}
A TableQueue with priority 2 will get its procedures scheduled at twice the
rate as compared to TableQueue with priority 1(TableQueue store all procedures
for this table).
{quote}
So from the underlying implementation, it is hard to guarantee higher priority
procedures running first, they just get high frequency to be scheduled like
what you said.
I will to add priority into Table and add a new tier in
MasterProcedureScheduler, my old patch can somehow make sure system table
assign first(if system does not have too many regions), so plan to keep it.
BTW, just check source code, it seems that ACL and RSGroups are all system
tables.
> Assign system tables first (priority)
> -------------------------------------
>
> Key: HBASE-18109
> URL: https://issues.apache.org/jira/browse/HBASE-18109
> Project: HBase
> Issue Type: Sub-task
> Components: Region Assignment
> Affects Versions: 2.0.0
> Reporter: stack
> Assignee: Yi Liang
> Priority: Critical
> Fix For: 2.0.0
>
> Attachments: HBASE-18109-V1.patch
>
>
> Need this for stuff like the RSGroup table, etc. Assign these ahead of
> user-space regions.
> From 'Handle sys table assignment first (e.g. acl, namespace, rsgroup);
> currently only hbase:meta is first.' of
> https://docs.google.com/document/d/1eVKa7FHdeoJ1-9o8yZcOTAQbv0u0bblBlCCzVSIn69g/edit#heading=h.oefcyphs0v0x
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)