apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
12.8k stars 3.29k forks source link

[Feature] Support an open api to view tablet meta for doris cloud mode #42045

Open TangSiyang2001 opened 1 month ago

TangSiyang2001 commented 1 month ago

Search before asking

Description

Since version 3.0, apache doris have supported Compute-Separated architecture (known as doris-cloud) based on the original Compute-Integrated architecture(known as doris-local), and both working on the same code base in this doris repo, distinct by compile options and config options. Refer to docs. We intend to extend some workaround functionalities on doris-local to doris-cloud currently.

This issue requests a BE open API to view tablet meta for doris-cloud to gain storage engine visibility as doris-local. For doris-local, we have had such an API, we need to extend it to cloud mode.

Here is a pull request as an example to support BE http API both for local mode and cloud mode. The original meta API is implementened mainly in meta_action.h and meta_action.cpp

If you are interested in this feature, you could refer to the example and start your contribution to apache doris. Welcome to contact with me to exchange ideas.

Use case

Refer to https://doris.apache.org/docs/admin-manual/open-api/be-http/meta/

Related issues

No response

Are you willing to submit PR?

Code of Conduct

sparklxb commented 1 month ago

I'd like to work on it, please assign it to me

TangSiyang2001 commented 1 month ago

@sparklxb Welcome and assigned.