Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: increase timeout to request execution details #111510

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

adityamaru
Copy link
Contributor

@adityamaru adityamaru commented Sep 29, 2023

In large clusters requesting execution details can definitely take longer than 5 seconds. This is because it involves collecting cluster wide traces, goroutines and contacting the coordinator node of the job to dump its execution details. Since this is a debug only tool we bump the timeout to 300s to give it all the time it needs.

Epic: none
Release note: None

@adityamaru adityamaru requested review from maryliag and a team September 29, 2023 16:21
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@maryliag maryliag left a comment

Choose a reason for hiding this comment

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

once the lint error is fixed, :lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @adityamaru)


pkg/ui/workspaces/cluster-ui/src/api/jobProfilerApi.ts line 13 at r1 (raw file):

import { cockroach } from "@cockroachlabs/crdb-protobuf-client";
import { fetchData } from "./fetchData";
import {SqlExecutionRequest, executeInternalSql, LONG_TIMEOUT} from "./sqlApi";

you're getting a lint error here:

Replace SqlExecutionRequest,·executeInternalSql,·LONG\_TIMEOUT\ with ⏎··SqlExecutionRequest,⏎··executeInternalSql,⏎··LONG\_TIMEOUT,⏎\

@adityamaru adityamaru force-pushed the increase-job-p-timeout branch from e6c5097 to 8187845 Compare October 2, 2023 15:06
In large clusters requesting execution details can
definitely take longer than 5 seconds. This is because it
involves collecting cluster wide traces, goroutines and
contacting the coordinator node of the job to dump its
execution details. Since this is a debug only tool we bump
the timeout to 300s to give it all the time it needs.

Release note: None
@adityamaru adityamaru force-pushed the increase-job-p-timeout branch from 8187845 to 4ec1671 Compare October 4, 2023 18:40
@adityamaru
Copy link
Contributor Author

flake is TestFlowControlGranterAdmitOneByOne which I think has been fixed on master

TFTR!

bors r=maryliag

@craig
Copy link
Contributor

craig bot commented Oct 4, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Oct 4, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Oct 5, 2023

Build succeeded:

@craig craig bot merged commit 2cd2d8c into cockroachdb:master Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants