fix: 2.0.0
1. 修复重试数据被ReBalanceFilterStrategies过滤问题
This commit is contained in:
parent
23852769e2
commit
10ec18adae
@ -197,13 +197,13 @@ public class FilterStrategies {
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查是否存在存活的客户端POD
|
||||
* rebalance中数据不进行重试
|
||||
*/
|
||||
private static final class ReBalanceFilterStrategies implements FilterStrategy {
|
||||
|
||||
@Override
|
||||
public boolean filter(RetryContext retryContext) {
|
||||
return ServerNodeBalance.RE_BALANCE_ING.get();
|
||||
return !ServerNodeBalance.RE_BALANCE_ING.get();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -38,7 +38,7 @@
|
||||
<dependency>
|
||||
<groupId>com.aizuda</groupId>
|
||||
<artifactId>easy-retry-client-starter</artifactId>
|
||||
<version>1.5.0-SNAPSHOT</version>
|
||||
<version>1.6.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
|
Loading…
Reference in New Issue
Block a user