Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

Unable to get list of task executions with a large amount of task execution rows #5718

@gyugyu90

Description

@gyugyu90

Description:
We are using 2.11.2 version of SCDF. After migration, we cannot get list from Task Executions tab. It is GET /tasks/executions API that causes this issue, as it takes longer than our server's timeout, which is 60 seconds. It seems that time took for getting list takes longer as the number of rows of table AGGREGATE_TASK_EXECUTION and related tables grows.

Why don't you provide with lighter version of API just like GET /jobs/thinexecutions from Job Executions tab?
I think it takes much time while fetching task arguments, which is not shown in the grid UI. We have over a million AGGREGATE_TASK_EXECUTION_PARAMS rows, and the application tries to search from it n times.

Release versions:
2.11.x

Custom apps:
N/A

Steps to reproduce:
Make a large number of Task Executions and try to GET /task/executions

Screenshots:
스크린샷 2024-02-29 오후 4 26 36
스크린샷 2024-02-29 오후 4 25 27

Additional context:
We don't see this issue in our development environment which has around 1k rows of AGGREGATE_TASK_EXECUTION, but our production server has around 100k rows and can't get the list in time.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions