This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 692d510edb [fix](schema_hash) remove useless schema_hash param in
tablet and replica url (#17489)
692d510edb is described below
commit 692d510edbe25864db0162d257b94c016bcd6028
Author: caiconghui <[email protected]>
AuthorDate: Sat Mar 11 21:34:47 2023 +0800
[fix](schema_hash) remove useless schema_hash param in tablet and replica
url (#17489)
Co-authored-by: caiconghui1 <[email protected]>
---
.../java/org/apache/doris/common/proc/ReplicasProcNode.java | 10 ++--------
.../main/java/org/apache/doris/common/proc/TabletsProcDir.java | 8 ++------
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/common/proc/ReplicasProcNode.java
b/fe/fe-core/src/main/java/org/apache/doris/common/proc/ReplicasProcNode.java
index ccdc775314..950033cf58 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/common/proc/ReplicasProcNode.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/common/proc/ReplicasProcNode.java
@@ -78,14 +78,8 @@ public class ReplicasProcNode implements ProcNodeInterface {
String host = (be == null ? Backend.DUMMY_IP : be.getIp());
int port = (be == null ? 0 : be.getHttpPort());
String hostPort = NetUtils.getHostPortInAccessibleFormat(host,
port);
- String metaUrl = String.format("http://" + hostPort +
"/api/meta/header/%d",
- tabletId,
- replica.getSchemaHash());
-
- String compactionUrl = String.format(
- "http://" + hostPort + "/api/compaction/show?tablet_id=%d",
- tabletId,
- replica.getSchemaHash());
+ String metaUrl = String.format("http://" + hostPort +
"/api/meta/header/%d", tabletId);
+ String compactionUrl = String.format("http://" + hostPort +
"/api/compaction/show?tablet_id=%d", tabletId);
String cooldownMetaId = "";
if (replica.getCooldownMetaId() != null) {
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/common/proc/TabletsProcDir.java
b/fe/fe-core/src/main/java/org/apache/doris/common/proc/TabletsProcDir.java
index 0d1e322db3..8f183d715e 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/common/proc/TabletsProcDir.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/common/proc/TabletsProcDir.java
@@ -129,14 +129,10 @@ public class TabletsProcDir implements ProcDirInterface {
String host = (be == null ? Backend.DUMMY_IP :
be.getIp());
int port = (be == null ? 0 : be.getHttpPort());
String hostPort =
NetUtils.getHostPortInAccessibleFormat(host, port);
- String metaUrl = String.format("http://" + hostPort +
"/api/meta/header/%d",
- tabletId,
- replica.getSchemaHash());
+ String metaUrl = String.format("http://" + hostPort +
"/api/meta/header/%d", tabletId);
tabletInfo.add(metaUrl);
String compactionUrl = String.format(
- "http://" + hostPort +
"/api/compaction/show?tablet_id=%d",
- tabletId,
- replica.getSchemaHash());
+ "http://" + hostPort +
"/api/compaction/show?tablet_id=%d", tabletId);
tabletInfo.add(compactionUrl);
tabletInfo.add(tablet.getCooldownConf().first);
if (replica.getCooldownMetaId() == null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]