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

system table for source health status #17163

Open
neverchanje opened this issue Jun 7, 2024 · 2 comments
Open

system table for source health status #17163

neverchanje opened this issue Jun 7, 2024 · 2 comments

Comments

@neverchanje
Copy link
Contributor

neverchanje commented Jun 7, 2024

Is your feature request related to a problem? Please describe.

It's very common that the source is connectible but somehow just not consumable.
In this case, we need a interface to see what's going on rather than checking the system logs.
Even as a system admin of RisingWave, I would feel frustrating to check the logs, not to mention the users.

Describe the solution you'd like

Either adding the extra information to rw_sources or introducing a new system table called rw_source_status will be fine to me.

  • name: text
  • error_message: text
  • status: 'healthy' | 'unhealthy'
  • last_check_ts: timestamptz

Describe alternatives you've considered

No response

Additional context

No response

@github-actions github-actions bot added this to the release-1.10 milestone Jun 7, 2024
@BugenZhao
Copy link
Member

Just to clarify, source is not a physical concept until #16003 get completed. It's possible that one source executor encounters failure, while another executor for the same source (in another streaming job) is still healthy.

@st1page
Copy link
Contributor

st1page commented Jul 26, 2024

Just to clarify, source is not a physical concept until #16003 get completed. It's possible that one source executor encounters failure, while another executor for the same source (in another streaming job) is still healthy.

Yes, and since shared source needs to implement the backfill operator for each kind of source. We must have some kinds of sources that don't implement shared source for a long time. so the system table's item must be a physical source.

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

No branches or pull requests

3 participants