Fix possible version_conflict_engine_exception in bulk execution. (#7354)
This commit is contained in:
parent
bd23f263e6
commit
3704567b21
|
|
@ -112,6 +112,7 @@ Release Notes.
|
|||
* Enhance persistent session timeout mechanism. Because the enhanced session could cache the metadata metrics forever,
|
||||
new timeout mechanism is designed for avoiding this specific case.
|
||||
* Fix Kafka transport topics are created duplicated with and without namespace issue
|
||||
* Fix possible version_conflict_engine_exception in bulk execution.
|
||||
|
||||
#### UI
|
||||
|
||||
|
|
|
|||
|
|
@ -102,10 +102,9 @@ public class EndpointRelationServerSideMetrics extends Metrics {
|
|||
|
||||
@Override
|
||||
public int remoteHashCode() {
|
||||
int result = 17;
|
||||
result = 31 * result + entityId.hashCode();
|
||||
result = (int) (31 * result + getTimeBucket());
|
||||
return result;
|
||||
int n = 17;
|
||||
n = 31 * n + this.entityId.hashCode();
|
||||
return n;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -114,7 +114,9 @@ public class ServiceInstanceRelationClientSideMetrics extends Metrics {
|
|||
|
||||
@Override
|
||||
public int remoteHashCode() {
|
||||
return hashCode();
|
||||
int n = 17;
|
||||
n = 31 * n + this.entityId.hashCode();
|
||||
return n;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -114,7 +114,9 @@ public class ServiceInstanceRelationServerSideMetrics extends Metrics {
|
|||
|
||||
@Override
|
||||
public int remoteHashCode() {
|
||||
return hashCode();
|
||||
int n = 17;
|
||||
n = 31 * n + this.entityId.hashCode();
|
||||
return n;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -100,7 +100,9 @@ public class ServiceRelationClientSideMetrics extends Metrics {
|
|||
|
||||
@Override
|
||||
public int remoteHashCode() {
|
||||
return this.hashCode();
|
||||
int n = 17;
|
||||
n = 31 * n + this.entityId.hashCode();
|
||||
return n;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -100,7 +100,9 @@ public class ServiceRelationServerSideMetrics extends Metrics {
|
|||
|
||||
@Override
|
||||
public int remoteHashCode() {
|
||||
return this.hashCode();
|
||||
int n = 17;
|
||||
n = 31 * n + this.entityId.hashCode();
|
||||
return n;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue