-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-29323 Use Priority Handler for all RegionServerStatus rpc at Master #6994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…RegionStateTransition
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
virajjasani
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
This comment has been minimized.
This comment has been minimized.
| } | ||
|
|
||
| @Override | ||
| @QosPriority(priority = HConstants.HIGH_QOS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why HIGH_QOS vs. ADMIN_QOS? Are they in conflict with each other? Does HIGH_QOS do something here that ADMIN_QOS does not? No other methods in this class use HIGH_QOS. And it seems SimpleRpcScheduler doesn't distinguish between the two.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In MasterAnnotationReadingPriorityFunction we are using HIGH_QOS for ReportRegionStateTransition rpc. Taking a example of that I used the same priority here as well.
And it seems SimpleRpcScheduler doesn't distinguish between the two.
Yeah, SimpleRpcScheduler doesn't distinguish between both, apart from META_TRANSITION_QOS, it just check if priority is greater that QOS_THRESHOLD(10).
|
I suggest we just change the code in MasterAnnotationReadingPriorityFunction, for all th methods defined in RegionServerStatusProtos, we give them higher QOS? |
This comment has been minimized.
This comment has been minimized.
This would be good if in future we will be adding some new rpc methods. I have made the changes. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
Hi @Umeshkumar9414 can you please check if the jira title is still relevant, please update if otherwise! |
|
Hi @Umeshkumar9414 could you please raise a backport PR for branch-2 ? |
…ster (#6994) Co-authored-by: ukumawat <[email protected]> Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Nihal Jain <[email protected]> Signed-off-by: Viraj Jasani <[email protected]> Reviewed-by: Aman Poonia <[email protected]> (cherry picked from commit d187378)
…ster (apache#6994) Co-authored-by: ukumawat <[email protected]> Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Nihal Jain <[email protected]> Signed-off-by: Viraj Jasani <[email protected]> Reviewed-by: Aman Poonia <[email protected]>
I have raised a PR - #6998 |
…ster(#6994) (#6998) Co-authored-by: ukumawat <[email protected]> Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Nihal Jain <[email protected]> Signed-off-by: Viraj Jasani <[email protected]> Reviewed-by: Aman Poonia <[email protected]> (cherry picked from commit d187378)
…ster(#6994) (#6998) Co-authored-by: ukumawat <[email protected]> Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Nihal Jain <[email protected]> Signed-off-by: Viraj Jasani <[email protected]> Reviewed-by: Aman Poonia <[email protected]> (cherry picked from commit 19440ac)
…ster(apache#6994) (apache#6998) Co-authored-by: ukumawat <[email protected]> Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Nihal Jain <[email protected]> Signed-off-by: Viraj Jasani <[email protected]> Reviewed-by: Aman Poonia <[email protected]> (cherry picked from commit d187378)
…ster(apache#6994) (apache#6998) Co-authored-by: ukumawat <[email protected]> Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Nihal Jain <[email protected]> Signed-off-by: Viraj Jasani <[email protected]> Reviewed-by: Aman Poonia <[email protected]> (cherry picked from commit d187378)
These reports are critical for completing region movements and ensuring availability. Any delay in reporting can directly impact system availability.