空tablet如何处理

Viewed 56

doris版本2.1.0

看日志有些tablet有问题,查看发现都是空的,有的只有dbname没有tablename。

mysql> SHOW TABLET 1821971;
+--------+-----------+---------------+-----------+------+---------+-------------+---------+--------+-------+-----------+--------------------------------------------------+
| DbName | TableName | PartitionName | IndexName | DbId | TableId | PartitionId | IndexId | IsSync | Order | QueryHits | DetailCmd                                        |
+--------+-----------+---------------+-----------+------+---------+-------------+---------+--------+-------+-----------+--------------------------------------------------+
| NULL   | NULL      | NULL          | NULL      | -1   | -1      | -1          | -1      | false  | -1    | 0         | SHOW PROC '/dbs/-1/-1/partitions/-1/-1/1821971'; |
+--------+-----------+---------------+-----------+------+---------+-------------+---------+--------+-------+-----------+--------------------------------------------------+
1 row in set (0.01 sec)

mysql> SHOW TABLET 1821973;
+----------------------------+-----------+---------------+-----------+-------+---------+-------------+---------+--------+-------+-----------+--------------------------------------------------------------------+
| DbName                     | TableName | PartitionName | IndexName | DbId  | TableId | PartitionId | IndexId | IsSync | Order | QueryHits | DetailCmd                                                          |
+----------------------------+-----------+---------------+-----------+-------+---------+-------------+---------+--------+-------+-----------+--------------------------------------------------------------------+
| order_cloud_mini_program | NULL      | NULL          | NULL      | 31711 | 1821971 | 1821970     | 1821972 | false  | -1    | 0         | SHOW PROC '/dbs/31711/1821971/partitions/1821970/1821972/1821973'; |
+----------------------------+-----------+---------------+-----------+-------+---------+-------------+---------+--------+-------+-----------+--------------------------------------------------------------------+
1 row in set (0.00 sec)

mysql>

请问这种怎么处理?看文档上有meta_tool可以删除,在be/lib下面没有发现这个工具。

1 Answers

是不是对应数据被删了,这个结果看是数据分片不存在了;目前是什么场景下发现的对应tablet异常?