Vallishp commented on PR #43107: URL: https://github.com/apache/doris/pull/43107#issuecomment-2489310306
> ```sql > ADMIN SET REPLICA STATUS PROPERTIES("tablet_id" = "xxx", "backend_id" = "xxx", "status" = "ok") > ``` > > this command will get the tablet using TabletInvertIndex, if TabletInvertIndex no contains the tablet meta, this command will raise an error in function Env.setReplicaStatusInternal. In your docker suite, after fe restart, check exec this sql ok. Thank you very much. i verified it using manually show tablet id command. after the restart the values where not proper as below without tablet index code, after restart reply. mysql> show tablet 43093; +--------+-----------+---------------+-----------+------+---------+-------------+---------+--------+-------+-----------+------------------------------------------------+ | 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/43093'; | +--------+-----------+---------------+-----------+------+---------+-------------+---------+--------+-------+-----------+------------------------------------------------+ after correcting code, after restart reply. mysql> show tablet 43093; +----------------------------------------+-----------------------+---------------+-----------------------+-------+---------+-------------+---------+--------+-------+-----------+------------------------------------------------------------+ | DbName | TableName | PartitionName | IndexName | DbId | TableId | PartitionId | IndexId | IsSync | Order | QueryHits | DetailCmd | +----------------------------------------+-----------------------+---------------+-----------------------+-------+---------+-------------+---------+--------+-------+-----------+------------------------------------------------------------+ | regression_test_catalog_recycle_bin_p0 | test_truncate_recover | p3 | test_truncate_recover | 28019 | 43044 | 43088 | 43045 | true | 1 | 0 | SHOW PROC '/dbs/28019/43044/partitions/43088/43045/43093'; | +----------------------------------------+-----------------------+---------------+-----------------------+-------+---------+-------------+---------+--------+-------+-----------+------------------------------------------------------------+ 1 row in set (0.00 sec) I have added back those part of code back. thanks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org