This is an automated email from the ASF dual-hosted git repository.
capistrant pushed a commit to branch 34.0.0
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/34.0.0 by this push:
new 75df0eacf44 Fix supervisor to tasks view naviagation in the console
(#18298) (#18306)
75df0eacf44 is described below
commit 75df0eacf442d90e7cdfca6963f301e592be6204
Author: Lucas Capistrant <[email protected]>
AuthorDate: Tue Jul 22 10:25:32 2025 -0500
Fix supervisor to tasks view naviagation in the console (#18298) (#18306)
With apache/druid#18082, the supervisor ID is no longer the same as the
datasource name, which breaks the navigation from the supervisors page to the
corresponding tasks view. To fix the broken filter during navigation, use the
groupId filter instead of datasource name when navigating from the supervisors
to tasks view.
Co-authored-by: Abhishek Radhakrishnan <[email protected]>
---
web-console/src/console-application.tsx | 2 +-
web-console/src/views/supervisors-view/supervisors-view.tsx | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/web-console/src/console-application.tsx
b/web-console/src/console-application.tsx
index 1af1795b5e7..822429582c9 100644
--- a/web-console/src/console-application.tsx
+++ b/web-console/src/console-application.tsx
@@ -408,7 +408,7 @@ export class ConsoleApplication extends React.PureComponent<
goToDatasource={this.goToDatasources}
goToQuery={this.goToQuery}
goToStreamingDataLoader={this.goToStreamingDataLoader}
- goToTasks={this.goToTasksWithDatasource}
+ goToTasks={this.goToTasksWithTaskGroupId}
capabilities={capabilities}
/>,
);
diff --git a/web-console/src/views/supervisors-view/supervisors-view.tsx
b/web-console/src/views/supervisors-view/supervisors-view.tsx
index b4656d33471..4c28493f360 100644
--- a/web-console/src/views/supervisors-view/supervisors-view.tsx
+++ b/web-console/src/views/supervisors-view/supervisors-view.tsx
@@ -782,7 +782,10 @@ export class SupervisorsView extends React.PureComponent<
switch (supervisor.type) {
case 'kafka':
case 'kinesis':
- goToTasks(supervisor.supervisor_id, `index_${supervisor.type}`);
+ goToTasks(
+ `index_${supervisor.type}_${supervisor.supervisor_id}`,
+ `index_${supervisor.type}`,
+ );
return;
case 'autocompact':
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]