-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-17465. RBF: Use ProportionRouterRpcFairnessPolicyController get … #6727
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
…“'ava.Lang. Error: Maximum permit count exceeded'
| if (contains(nsId)) { | ||
| super.releasePermit(nsId); | ||
| } else { | ||
| super.releasePermit(DEFAULT_NS); | ||
| } |
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.
hi, LGTM. Personal opinion, whether it can be written like this.
if (contains(nsId)) {
super.releasePermit(nsId);
return;
}
super.releasePermit(DEFAULT_NS);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.
yes, thank you for your reply,the effect is the same. : )
|
💔 -1 overall
This message was automatically generated. |
…“'ava.Lang. Error: Maximum permit count exceeded' (apache#6727)
…“'ava.Lang. Error: Maximum permit count exceeded'
Description of PR
How was this patch tested?
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?