-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-25634 The client scan frequently exceeds the quota, which cause… #3030
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
base: branch-2
Are you sure you want to change the base?
Conversation
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
| } | ||
| if (!(t instanceof RpcThrottlingException)) { | ||
| callable.prepare(tries != 0); | ||
| } |
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.
So, the idea here is that if we got an exception and we are retrying, do NOT reload cache if the exception was a because we were throttled?
This is a good idea. I wonder if there are other exceptions where we retry but do not need to reload the cache?
saintstack
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.
Would a test be hard to add?
| @InterfaceAudience.Private | ||
| public static class ThrowableWithExtraContext { | ||
| private final Throwable throwable; | ||
| public final Throwable throwable; |
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.
You don't think we need an accessor here?
cc18b1a to
30ef0f2
Compare
… meta table scan to be too high
30ef0f2 to
8b3dc69
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
…s the meta table scan to be too high