Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SHOW SHARDS should include database and retention policy #4660

Closed
otoolep opened this issue Nov 4, 2015 · 0 comments
Closed

SHOW SHARDS should include database and retention policy #4660

otoolep opened this issue Nov 4, 2015 · 0 comments

Comments

@otoolep
Copy link
Contributor

otoolep commented Nov 4, 2015

SHOW SHARDS should be enhanced to show the associated database and retention policy, so it looks something like so:

> SHOW SHARDS
name: db
--------
id      database retention_policy    start_time              end_time                expiry_time             owners
1       mydb     default             1972-07-31T00:00:00Z    1972-08-07T00:00:00Z    1972-08-07T00:00:00Z    1
.
.

This should not be that difficult, as the information is all contained in the meta store, which every node has access to. It is https://github.com/influxdb/influxdb/blob/master/meta/statement_executor.go#L355 that needs updating. (executeShowShardsStatement).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant