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

vdk-core: Add log before query result fetch #1195

Merged
merged 1 commit into from
Sep 28, 2022
Merged

Conversation

doks5
Copy link
Contributor

@doks5 doks5 commented Sep 28, 2022

Occasionally, vdk may indicate that a query execution took 10 or 20 minutes, even though the DB back shows that the query was actually executes in seconds. This results in the DB backend issuing a timeout error and a job failure. Because it happens sporadically, it is hard to reproduce and debug locally.

This change adds a log message just before the result of a query is fetched, and should help better understand at which step the query execution hanged.

Testing done: Documentation change.

Signed-off-by: Andon Andonov andonova@vmware.com

Occasionally, vdk may indicate that a query execution took 10 or 20
minutes, even though the DB back shows that the query was actually
executes in seconds. This results in the DB backend issuing a timeout
error and a job failure. Because it happens sporadically, it is hard
to reproduce and debug locally.

This change adds a log message just before the result of a query is
fetched, and should help better understand at which step the query
execution hanged.

Testing done: Documentation change.

Signed-off-by: Andon Andonov <andonova@vmware.com>
@doks5 doks5 merged commit 05c45d7 into main Sep 28, 2022
@doks5 doks5 deleted the person/andonova/add-logs branch September 28, 2022 11:38
antoniivanov pushed a commit that referenced this pull request Sep 29, 2022
Occasionally, vdk may indicate that a query execution took 10 or 20
minutes, even though the DB back shows that the query was actually
executes in seconds. This results in the DB backend issuing a timeout
error and a job failure. Because it happens sporadically, it is hard
to reproduce and debug locally.

This change adds a log message just before the result of a query is
fetched, and should help better understand at which step the query
execution hanged.

Testing done: Documentation change.

Signed-off-by: Andon Andonov <andonova@vmware.com>

Signed-off-by: Andon Andonov <andonova@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants