未验证 提交 3704567b 编写于 作者: A Ax1an 提交者: GitHub

Fix possible version_conflict_engine_exception in bulk execution. (#7354)

上级 bd23f263
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册