Skip to content

feat(frontend): add source backfill progress tracking #22217

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

kwannoel
Copy link
Contributor

@kwannoel kwannoel commented Jun 12, 2025

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

Tests are in the downstream PR, after we support source backfill order control.

Added support for tracking source backfill progress through a new internal table function internal_source_backfill_progress(). This function allows users to monitor the progress of source backfill operations, similar to how the existing internal_backfill_progress() function works for regular backfills.

The implementation includes:

  • Added a new table function type INTERNAL_SOURCE_BACKFILL_PROGRESS in the protocol buffer
  • Created a new rule TableFunctionToInternalSourceBackfillProgressRule to transform the function call into a plan that scans source backfill state tables
  • Added helper functions to identify source backfill tables
  • Added an end-to-end test for backfill progress monitoring

This change enables better observability into source backfill operations, which is particularly useful for debugging and monitoring large backfill jobs.

Checklist

  • I have written necessary rustdoc comments.
  • I have added necessary unit tests and integration tests.
  • I have added test labels as necessary.
  • I have added fuzzing tests or opened an issue to track them.
  • My PR contains breaking changes.
  • My PR changes performance-critical code, so I will run (micro) benchmarks and present the results.
  • I have checked the Release Timeline and Currently Supported Versions to determine which release branches I need to cherry-pick this PR into.

@kwannoel kwannoel force-pushed the kwannoel/show-jobs-v3-5 branch from d571608 to e9d445c Compare June 13, 2025 10:28
@kwannoel kwannoel requested review from chenzl25, wenym1 and xxchan June 13, 2025 12:03
@kwannoel kwannoel marked this pull request as ready for review June 13, 2025 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Type: New feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant