magnificent-teacher-86590
11/04/2022, 9:22 PMvendor-a9fbc36b.js:2 GET https://.../fizlxcwy-n4-0-dn1-0/n1?limit=10000 net::ERR_INSUFFICIENT_RESOURCES
it might have been showing previously as well but never seem to be noticable. it takes solid min or 2 to even show what tasks were executed.
previous version was flyteconsole 1.1.6
, propeller 1.1.15
and admin on 1.1.29
any idea on what have changedlate-eye-50215
11/04/2022, 11:10 PMv.1.4.0
includes the full refactor and should load faster than the release version. I should note he refactor does add a slight increase in the initial load of the node list as we combined all the requests into one; the benefit/purpose of this refactor is that now the other views (graph, timeline) are much faster as they no longer require separate requests.magnificent-teacher-86590
11/07/2022, 1:21 AMmagnificent-teacher-86590
11/07/2022, 5:42 PM2022/11/07 17:36:05 /go/src/github.com/flyteorg/flyteadmin/pkg/repositories/gormimpl/task_execution_repo.go:121 SLOW SQL >= 200ms
[204.218ms] [rows:1] SELECT "task_executions"."id","task_executions"."created_at","task_executions"."updated_at","task_executions"."deleted_at","task_executions"."project","task_executions"."domain","task_executions"."name","task_executions"."version","task_executions"."execution_project","task_executions"."execution_domain","task_executions"."execution_name","task_executions"."node_id","task_executions"."retry_attempt","task_executions"."phase","task_executions"."phase_version","task_executions"."input_uri","task_executions"."closure","task_executions"."started_at","task_executions"."task_execution_created_at","task_executions"."task_execution_updated_at","task_executions"."duration" FROM "task_executions" LEFT JOIN tasks ON task_executions.project = tasks.project AND task_executions.domain = tasks.domain AND task_executions.name = tasks.name AND task_executions.version = tasks.version INNER JOIN node_executions ON task_executions.node_id = node_executions.node_id AND task_executions.execution_project = node_executions.execution_project AND task_executions.execution_domain = node_executions.execution_domain AND task_executions.execution_name = node_executions.execution_name INNER JOIN executions ON node_executions.execution_project = executions.execution_project AND node_executions.execution_domain = executions.execution_domain AND node_executions.execution_name = executions.execution_name WHERE executions.execution_project = 'balrog' AND executions.execution_domain = 'production' AND executions.execution_name = 'f54bcr4c4l3v5s' AND node_executions.node_id = 'n0' LIMIT 10000
magnificent-teacher-86590
11/07/2022, 5:43 PMmagnificent-teacher-86590
11/07/2022, 7:23 PMacceptable-policeman-57188
magnificent-teacher-86590
11/07/2022, 7:26 PMSLOW SQL >= 200ms
logs.
Previously we were on flyteadmin 1.1.29
and upgraded to 1.1.46
acceptable-policeman-57188
magnificent-teacher-86590
11/07/2022, 9:56 PMv1.1.29-hotfix@sha256:4de1d9e93cbb9d93a659b49bf51d7d9cc0ffe8fad8408d4cc16378930bb1de4b
we were using it before but couldnt figure out where it came from, its base was the name: <http://cr.flyte.org/flyteorg/flyteadmin|cr.flyte.org/flyteorg/flyteadmin>
which is pointing to the flyteโs image registryacceptable-policeman-57188
acceptable-policeman-57188
magnificent-teacher-86590
11/07/2022, 11:26 PM2022/11/07 23:19:24 /go/src/github.com/flyteorg/flyteadmin/pkg/repositories/gormimpl/node_execution_repo.go:47 SLOW SQL >= 200ms
[587.680ms] [rows:1] SELECT * FROM "node_executions" WHERE "node_executions"."execution_project" = 'pineapple' AND "node_executions"."execution_domain" = 'development' AND "node_executions"."execution_name" = 'fpz5pyuqbaiuuo' AND "node_executions"."node_id" = 'n0-0-dn1-1-dn82' LIMIT 1
magnificent-teacher-86590
11/07/2022, 11:26 PMhigh-accountant-32689
11/08/2022, 1:05 AMmagnificent-teacher-86590
11/08/2022, 2:21 AMhigh-accountant-32689
11/08/2022, 2:21 AMmagnificent-teacher-86590
11/08/2022, 2:23 AMmagnificent-teacher-86590
11/08/2022, 2:44 AM1.1.6
and no longer have the issue. I think the newer flyteconsole tries to pull everything in one request so if the workflow has a lot of dynamic tasks it slows down considerably.
i observed this before when trying to fetch execution using FlyteRemote and using sync operation.high-accountant-32689
11/08/2022, 4:17 AMmagnificent-teacher-86590
11/08/2022, 6:58 AMmagnificent-teacher-86590
11/08/2022, 9:13 PMhigh-accountant-32689
11/08/2022, 9:50 PMmagnificent-teacher-86590
11/08/2022, 9:51 PMhigh-accountant-32689
11/08/2022, 9:51 PMhigh-accountant-32689
11/08/2022, 9:52 PMmagnificent-teacher-86590
11/08/2022, 9:52 PMmagnificent-teacher-86590
11/08/2022, 9:54 PMhigh-accountant-32689
11/08/2022, 9:57 PMmagnificent-teacher-86590
11/08/2022, 10:00 PM