Skip to content

feat: Web console support for resetToLatestAndBackfill#19533

Open
aho135 wants to merge 2 commits into
apache:masterfrom
aho135:resetToLatestAndBackfill-web-console
Open

feat: Web console support for resetToLatestAndBackfill#19533
aho135 wants to merge 2 commits into
apache:masterfrom
aho135:resetToLatestAndBackfill-web-console

Conversation

@aho135
Copy link
Copy Markdown
Contributor

@aho135 aho135 commented May 30, 2026

Description

Adds web-console support for the resetToLatestAndBackfill endpoint that was added in #19477

Screenshot 2026-05-30 at 2 37 47 PM Screenshot 2026-05-30 at 2 37 59 PM

Release note

Adds web-console support for the resetToLatestAndBackfill endpoint


Key changed/added classes in this PR
  • web-console/src/dialogs/supervisor-reset-to-latest-dialog/supervisor-reset-to-latest-dialog.tsx
  • web-console/src/views/supervisors-view/supervisors-view.tsx

This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

Copy link
Copy Markdown
Member

@FrankChen021 FrankChen021 left a comment

Choose a reason for hiding this comment

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

Severity Findings
P0 0
P1 0
P2 1
P3 0
Total 1
Severity Findings
P0 0
P1 0
P2 1
P3 0
Total 1

Reviewed 4 of 4 changed files.


This is an automated review by Codex GPT-5.5

},
{
icon: IconNames.FAST_FORWARD,
title: 'Reset to latest and backfill',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

[P2] Gate reset-and-backfill to eligible supervisors

This action is added to every supervisor row, but the endpoint rejects supervisors that are not seekable-stream supervisors and also rejects supervisors that are not in RUNNING state. That means suspended rows and non-stream supervisor types such as autocompact or scheduled_batch can show a destructive confirmation flow that deterministically fails with a 400 after the user confirms. Please gate this action to eligible running stream supervisors, or disable it with an explanation.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants