FrankChen021 commented on code in PR #19533:
URL: https://github.com/apache/druid/pull/19533#discussion_r3330417706
##########
web-console/src/views/supervisors-view/supervisors-view.tsx:
##########
@@ -579,6 +581,12 @@ export class SupervisorsView extends React.PureComponent<
intent: Intent.DANGER,
onAction: () => this.setState({ resetSupervisorId: supervisor_id }),
},
+ {
+ icon: IconNames.FAST_FORWARD,
+ title: 'Reset to latest and backfill',
Review Comment:
[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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]