ADMIN DIAGNOSE TABLET

Description

1. This statement is used to diagnose the specified tablet. The results will show information about the tablet and some potential problems.

3. grammar:

5. ADMIN DIAGNOSE TABLET tblet_id

7. illustrate:

9. The lines of information in the result are as follows:
10. 1. TabletExist:                         Whether the Tablet exists
11. 2. TabletId:                            Tablet ID
12. 3. Database:                            The DB to which the Tablet belongs and its ID
13. 4. Table:                               The Table to which Tablet belongs and its ID
14. 5. Partition:                           The Partition to which the Tablet belongs and its ID
15. 6. MaterializedIndex:                   The materialized view to which the Tablet belongs and its ID
16. 7. Replicas(ReplicaId -> BackendId):    Tablet replicas and their BE.
17. 8. ReplicasNum:                         Whether the number of replicas is correct.
18. 9. ReplicaBackendStatus:                Whether the BE node where the replica is located is normal.
19. 10.ReplicaVersionStatus:                Whether the version number of the replica is normal.
20. 11.ReplicaStatus:                       Whether the replica status is normal.
21. 12.ReplicaCompactionStatus:             Whether the replica Compaction status is normal.

Example

1. 1. Diagnose tablet 10001

3. ADMIN DIAGNOSE TABLET 10001;

Keywords

1. ADMIN,DIAGNOSE,TABLET