Skip to content

[chore](cloud) Add show_meta_ranges API#39208

Merged
gavinchou merged 4 commits intoapache:masterfrom
w41ter:add_show_meta_ranges
Aug 13, 2024
Merged

[chore](cloud) Add show_meta_ranges API#39208
gavinchou merged 4 commits intoapache:masterfrom
w41ter:add_show_meta_ranges

Conversation

@w41ter
Copy link
Copy Markdown
Contributor

@w41ter w41ter commented Aug 12, 2024

This interface can roughly estimate the storage space occupied by different types of keys by analyzing the FDB partition key.

The usage:

curl localhost:5000/MetaService/http/show_meta_ranges?token=greedisgood9999

An example:

$ curl localhost:5000/MetaService/http/show_meta_ranges?token=greedisgood9999
total partitions: 5
recycle|default_instance_id|txn: 1
meta|default_instance_id|tablet_index: 1
meta|default_instance_id|rowset_tmp: 1

@doris-robot
Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@github-actions github-actions bot added the doing label Aug 12, 2024
@w41ter
Copy link
Copy Markdown
Contributor Author

w41ter commented Aug 12, 2024

run buildall

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

This interface can roughly estimate the storage space occupied by different
types of keys by analyzing the FDB partition key.
@w41ter w41ter force-pushed the add_show_meta_ranges branch from 4919d20 to 8ad9ca0 Compare August 12, 2024 04:01
@w41ter
Copy link
Copy Markdown
Contributor Author

w41ter commented Aug 12, 2024

run buildall

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

dataroaring
dataroaring previously approved these changes Aug 12, 2024
Copy link
Copy Markdown
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Aug 12, 2024
@github-actions
Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

Comment thread cloud/src/meta-service/txn_kv.cpp Outdated
Comment thread cloud/src/meta-service/meta_service_http.cpp
Comment thread cloud/src/meta-service/meta_service_http.cpp
Comment thread cloud/src/meta-service/txn_kv.cpp
@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Aug 12, 2024
@w41ter
Copy link
Copy Markdown
Contributor Author

w41ter commented Aug 12, 2024

run buildall

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@w41ter
Copy link
Copy Markdown
Contributor Author

w41ter commented Aug 12, 2024

run buildall

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Copy Markdown
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Aug 13, 2024
@github-actions
Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@gavinchou gavinchou merged commit 5e20101 into apache:master Aug 13, 2024
@w41ter w41ter deleted the add_show_meta_ranges branch August 13, 2024 02:50
wyxxxcat pushed a commit to wyxxxcat/doris that referenced this pull request Aug 14, 2024
This interface can roughly estimate the storage space occupied by
different types of keys by analyzing the FDB partition key.

The usage:

```
curl localhost:5000/MetaService/http/show_meta_ranges?token=greedisgood9999
```

An example:

```
$ curl localhost:5000/MetaService/http/show_meta_ranges?token=greedisgood9999
total partitions: 5
recycle|default_instance_id|txn: 1
meta|default_instance_id|tablet_index: 1
meta|default_instance_id|rowset_tmp: 1
```
dataroaring pushed a commit that referenced this pull request Aug 17, 2024
This interface can roughly estimate the storage space occupied by
different types of keys by analyzing the FDB partition key.

The usage:

```
curl localhost:5000/MetaService/http/show_meta_ranges?token=greedisgood9999
```

An example:

```
$ curl localhost:5000/MetaService/http/show_meta_ranges?token=greedisgood9999
total partitions: 5
recycle|default_instance_id|txn: 1
meta|default_instance_id|tablet_index: 1
meta|default_instance_id|rowset_tmp: 1
```
@gavinchou gavinchou mentioned this pull request Oct 13, 2024
eldenmoon pushed a commit to eldenmoon/incubator-doris that referenced this pull request Nov 12, 2024
This interface can roughly estimate the storage space occupied by
different types of keys by analyzing the FDB partition key.

The usage:

```
curl localhost:5000/MetaService/http/show_meta_ranges?token=greedisgood9999
```

An example:

```
$ curl localhost:5000/MetaService/http/show_meta_ranges?token=greedisgood9999
total partitions: 5
recycle|default_instance_id|txn: 1
meta|default_instance_id|tablet_index: 1
meta|default_instance_id|rowset_tmp: 1
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/3.0.2-merged doing reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants