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
[YSQL] Many flaky tests in PgExplainAnalyze.* #18391
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
kind/failing-test
Tests and testing infra
priority/medium
Medium priority issue
Comments
bmatican
added
area/ysql
Yugabyte SQL (YSQL)
kind/failing-test
Tests and testing infra
status/awaiting-triage
Issue awaiting triage
labels
Jul 24, 2023
yugabyte-ci
added
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
and removed
status/awaiting-triage
Issue awaiting triage
labels
Jul 24, 2023
karthik-ramanathan-3006
added a commit
that referenced
this issue
Jul 27, 2023
…locks in Linux. Summary: This changes enables the usage of a high resolution (more granular) clock for timing RPCs requests in the asynchronous write path (pg_operation_buffer). Prior to D26457, we had the following behavior for timing RPCs: | Catalog Reads | Timing enabled by default. | Low res timer in prod, high res in tests. | Data Reads | Timing disabled by default. | Low res timer in prod, high res in tests. | Data Writes | Timing disabled by default. | Low res timer in prod, high res in tests. After D26457, this is the default behavior: | Catalog Reads | Timing enabled by default. | High res timer in prod and tests. | Data Reads | Timing disabled by default. | High res timer in prod and tests. | Data Writes | Timing disabled by default. | Low res timer in prod and tests. **With this change, we seek to make Data Writes use the the high res timer in both prod and tests.** That is, the proposed behavior is as follows: | Catalog Reads | Timing enabled by default. | High res timer in prod and tests. | Data Reads | Timing disabled by default. | High res timer in prod and tests. | Data Writes | Timing disabled by default. | High res timer in prod and tests. This change can be done for the following reasons: 1. Explain Analyze uses global variables for tracking execution state (such as timing = on/off). This allows such information to be accessible in the asynchronous write path. 2. Write flushes necessarily happen at/before statement boundaries. This means that we will NOT mistakenly associate writes flushes of a query (n - 1) with that of query (n). Attaching perf reports in comments. Jira: DB-7383, DB-6950 Test Plan: ``` ybd --java-test 'org.yb.pgsql.TestPgExplainAnalyze' ``` Reviewers: telgersma Reviewed By: telgersma Subscribers: yql, smishra Differential Revision: https://phorge.dev.yugabyte.com/D27285
karthik-ramanathan-3006
added a commit
that referenced
this issue
Jul 28, 2023
…t to granular clocks in Linux. Summary: Original commit: 55f595f / D27285 This changes enables the usage of a high resolution (more granular) clock for timing RPCs requests in the asynchronous write path (pg_operation_buffer). Prior to D26457, we had the following behavior for timing RPCs: | Catalog Reads | Timing enabled by default. | Low res timer in prod, high res in tests. | Data Reads | Timing disabled by default. | Low res timer in prod, high res in tests. | Data Writes | Timing disabled by default. | Low res timer in prod, high res in tests. After D26457, this is the default behavior: | Catalog Reads | Timing enabled by default. | High res timer in prod and tests. | Data Reads | Timing disabled by default. | High res timer in prod and tests. | Data Writes | Timing disabled by default. | Low res timer in prod and tests. **With this change, we seek to make Data Writes use the the high res timer in both prod and tests.** That is, the proposed behavior is as follows: | Catalog Reads | Timing enabled by default. | High res timer in prod and tests. | Data Reads | Timing disabled by default. | High res timer in prod and tests. | Data Writes | Timing disabled by default. | High res timer in prod and tests. This change can be done for the following reasons: 1. Explain Analyze uses global variables for tracking execution state (such as timing = on/off). This allows such information to be accessible in the asynchronous write path. 2. Write flushes necessarily happen at/before statement boundaries. This means that we will NOT mistakenly associate writes flushes of a query (n - 1) with that of query (n). Attaching perf reports in comments. Jira: DB-7383, DB-6950 Test Plan: ``` ybd --java-test 'org.yb.pgsql.TestPgExplainAnalyze' ``` Reviewers: telgersma, smishra Reviewed By: smishra Subscribers: smishra, yql Differential Revision: https://phorge.dev.yugabyte.com/D27354
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
kind/failing-test
Tests and testing infra
priority/medium
Medium priority issue
Jira Link: DB-7383
Description
https://detective-gcp.dev.yugabyte.com/stability/test?analyze_trends=true&branch=master&build_type=all&class=org.yb.pgsql.TestPgExplainAnalyze&fail_tag=all&name=testUpdateReturning&platform=linux
https://detective-gcp.dev.yugabyte.com/stability/test?analyze_trends=true&branch=master&build_type=all&class=org.yb.pgsql.TestPgExplainAnalyze&fail_tag=all&name=testUpdateUsingIndex&platform=linux
https://detective-gcp.dev.yugabyte.com/stability/test?analyze_trends=true&branch=master&build_type=all&class=org.yb.pgsql.TestPgExplainAnalyze&fail_tag=all&name=testDeleteUsingIndex&platform=linux
https://detective-gcp.dev.yugabyte.com/stability/test?analyze_trends=true&branch=master&build_type=all&class=org.yb.pgsql.TestPgExplainAnalyze&fail_tag=all&name=testInsertValues&platform=linux
https://detective-gcp.dev.yugabyte.com/stability/test?analyze_trends=true&branch=master&build_type=all&class=org.yb.pgsql.TestPgExplainAnalyze&fail_tag=all&name=testInsertReturning&platform=linux
https://detective-gcp.dev.yugabyte.com/stability/test?analyze_trends=true&branch=master&build_type=all&class=org.yb.pgsql.TestPgExplainAnalyze&fail_tag=all&name=testUpdateReturning&platform=linux
Seems to trace back to 8d235bd
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: