This is an automated email from the ASF dual-hosted git repository.
jiafengzheng 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 8537ec6c02 [doc] Add missing ADMIN DIAGNOSE TABLET doc (#11273)
8537ec6c02 is described below
commit 8537ec6c023467e53024e2cc017142468347c7f6
Author: Mingyu Chen <[email protected]>
AuthorDate: Tue Aug 2 11:13:57 2022 +0800
[doc] Add missing ADMIN DIAGNOSE TABLET doc (#11273)
Add missing ADMIN DIAGNOSE TABLET doc
---
.../ADMIN-DIAGNOSE-TABLET.md | 57 ++++++++++++++++++++++
.../ADMIN-DIAGNOSE-TABLET.md | 57 ++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git
a/docs/en/docs/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET.md
b/docs/en/docs/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET.md
new file mode 100644
index 0000000000..df75561b59
--- /dev/null
+++
b/docs/en/docs/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET.md
@@ -0,0 +1,57 @@
+---
+{
+ "title": "ADMIN DIAGNOSE TABLET",
+ "language": "en"
+}
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+## ADMIN DIAGNOSE TABLET
+### Description
+
+ This statement is used to diagnose the specified tablet. The results will
show information about the tablet and some potential problems.
+
+ grammar:
+
+ ADMIN DIAGNOSE TABLET tblet_id
+
+ illustrate:
+
+ The lines of information in the result are as follows:
+ 1. TabletExist: Whether the Tablet exists
+ 2. TabletId: Tablet ID
+ 3. Database: The DB to which the Tablet
belongs and its ID
+ 4. Table: The Table to which Tablet
belongs and its ID
+ 5. Partition: The Partition to which the
Tablet belongs and its ID
+ 6. MaterializedIndex: The materialized view to which
the Tablet belongs and its ID
+ 7. Replicas(ReplicaId -> BackendId): Tablet replicas and their BE.
+ 8. ReplicasNum: Whether the number of replicas
is correct.
+ 9. ReplicaBackendStatus: Whether the BE node where the
replica is located is normal.
+ 10.ReplicaVersionStatus: Whether the version number of
the replica is normal.
+ 11.ReplicaStatus: Whether the replica status is
normal.
+ 12.ReplicaCompactionStatus: Whether the replica Compaction
status is normal.
+
+### Example
+
+ 1. Diagnose tablet 10001
+
+ ADMIN DIAGNOSE TABLET 10001;
+
+### Keywords
+ ADMIN,DIAGNOSE,TABLET
diff --git
a/docs/zh-CN/docs/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET.md
b/docs/zh-CN/docs/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET.md
new file mode 100644
index 0000000000..b6f30dc85b
--- /dev/null
+++
b/docs/zh-CN/docs/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET.md
@@ -0,0 +1,57 @@
+---
+{
+ "title": "ADMIN DIAGNOSE TABLET",
+ "language": "zh-CN"
+}
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+## ADMIN DIAGNOSE TABLET
+### Description
+
+ 该语句用于诊断指定 tablet。结果中将显示这个 tablet 的信息和一些潜在的问题。
+
+ 语法:
+
+ ADMIN DIAGNOSE TABLET tblet_id
+
+ 说明:
+
+ 结果中的各行信息如下:
+ 1. TabletExist: Tablet是否存在
+ 2. TabletId: Tablet ID
+ 3. Database: Tablet 所属 DB 和其 ID
+ 4. Table: Tablet 所属 Table 和其 ID
+ 5. Partition: Tablet 所属 Partition 和其 ID
+ 6. MaterializedIndex: Tablet 所属物化视图和其 ID
+ 7. Replicas(ReplicaId -> BackendId): Tablet 各副本和其所在 BE。
+ 8. ReplicasNum: 副本数量是否正确。
+ 9. ReplicaBackendStatus: 副本所在 BE 节点是否正常。
+ 10.ReplicaVersionStatus: 副本的版本号是否正常。
+ 11.ReplicaStatus: 副本状态是否正常。
+ 12.ReplicaCompactionStatus: 副本 Compaction 状态是否正常。
+
+### Example
+
+ 1. 查看 Tablet 10001 的诊断结果
+
+ ADMIN DIAGNOSE TABLET 10001;
+
+### keywords
+ ADMIN,DIAGNOSE,TABLET
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]