HDFS-17465. RBF: Use ProportionRouterRpcFairnessPolicyController get “'ava.Lang. Error: Maximum permit count exceeded' (#6727)
This commit is contained in:
parent
f49a4df797
commit
87cc2f1a1f
@ -93,7 +93,8 @@ public boolean acquirePermit(String nsId) {
|
|||||||
public void releasePermit(String nsId) {
|
public void releasePermit(String nsId) {
|
||||||
if (contains(nsId)) {
|
if (contains(nsId)) {
|
||||||
super.releasePermit(nsId);
|
super.releasePermit(nsId);
|
||||||
}
|
} else {
|
||||||
super.releasePermit(DEFAULT_NS);
|
super.releasePermit(DEFAULT_NS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user