HDFS-17465. RBF: Use ProportionRouterRpcFairnessPolicyController get “'ava.Lang. Error: Maximum permit count exceeded' (#6727)

This commit is contained in:
章锡平 2024-04-16 00:28:05 +08:00 committed by GitHub
parent f49a4df797
commit 87cc2f1a1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,7 +93,8 @@ public boolean acquirePermit(String nsId) {
public void releasePermit(String nsId) {
if (contains(nsId)) {
super.releasePermit(nsId);
} else {
super.releasePermit(DEFAULT_NS);
}
super.releasePermit(DEFAULT_NS);
}
}