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

add HTTP API for smoosh:status() #4705

Closed
janl opened this issue Jul 27, 2023 · 0 comments · Fixed by #4766
Closed

add HTTP API for smoosh:status() #4705

janl opened this issue Jul 27, 2023 · 0 comments · Fixed by #4766
Assignees

Comments

@janl
Copy link
Member

janl commented Jul 27, 2023

This is only available in remsh at the moment, it’d be nice to get at this with HTTP.

E.g. /_node/_local/_smoosh/status

smoosh:status().
{ok,[{"upgrade_dbs",
      [{active,0},{starting,0},{waiting,[{size,0}]}]},
     {"slack_dbs",[{active,0},{starting,0},{waiting,[{size,0}]}]},
     {"slack_views",
      [{active,0},{starting,0},{waiting,[{size,0}]}]},
     {"upgrade_views",
      [{active,0},{starting,0},{waiting,[{size,0}]}]},
     {"index_cleanup",
      [{active,0},{starting,0},{waiting,[{size,0}]}]},
     {"ratio_views",
      [{active,0},{starting,0},{waiting,[{size,0}]}]},
     {"ratio_dbs",
      [{active,0},{starting,0},{waiting,[{size,0}]}]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants