morningman opened a new issue #6658: URL: https://github.com/apache/incubator-doris/issues/6658
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Description Sometimes, I want to know the order of tablet (AKA bucket sequence of tablet) of a colocation table. So that I can find the Backends list assigned to this bucket. ### Use case ``` mysql> show tablet 126684560\G *************************** 1. row *************************** DbName: default_cluster:db1 TableName: tbl1 PartitionName: partition1 IndexName: tbl1 DbId: 1501243 TableId: 59019459 PartitionId: 59019458 IndexId: 126684539 IsSync: true Order: 5 DetailCmd: SHOW PROC '/dbs/1501243/59019459/partitions/59019458/126684539/126684560'; ``` And now I know the order of this tablet is `5`. Than I can find backend lists of this bucket by: ``` mysql> show proc "/colocation_group/61190005.97437015"; +-------------+------------------------------+ | BucketIndex | {"location" : "default"} | +-------------+------------------------------+ | 0 | 65109230, 63737443, 65108975 | | 1 | 63737443, 65108975, 65102017 | | 2 | 63737443, 65108975, 65102017 | | 3 | 63737443, 65108975, 65109230 | | 4 | 65102017, 63737443, 65109230 | | 5 | 65102017, 63737443, 65108975 | | 6 | 63737443, 65109230, 65108975 | ``` The backend list of bucket 5 is `65102017, 63737443, 65108975` ### Related issues _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
