-
Notifications
You must be signed in to change notification settings - Fork 1k
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] GetPGVariable core dump while running benchbase voter on 2024.1 build #21947
Closed
1 task done
Labels
2024.1_blocker
area/ysql
Yugabyte SQL (YSQL)
kind/bug
This issue is a bug
priority/medium
Medium priority issue
Comments
qvad
added
area/ysql
Yugabyte SQL (YSQL)
status/awaiting-triage
Issue awaiting triage
2024.1_blocker
labels
Apr 12, 2024
yugabyte-ci
added
kind/bug
This issue is a bug
priority/medium
Medium priority issue
labels
Apr 12, 2024
There is an easier way to reproduce this bug locally:
|
myang2021
added a commit
that referenced
this issue
Apr 16, 2024
Summary: To reproduce this bug: ``` ./bin/ysqlsh -c "show all" server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. connection to server was lost ``` The reason is that a GUC variable must have a non-NULL short_desc that the "show all" command needs to access. When I added the new GUC `yb_enable_ddl_atomicity_infra` in commit 6091cc8, I added the text description to long_desc when it should be short_desc. Fixed by swapping them. Jira: DB-10864 Test Plan: (1) Manual test, `show all` now works ./bin/ysqlsh -c "show all" (2) Run the original benchbase test in the issue and it now passes 1. Start a local RF-3 cluster ./bin/yb-ctl create --rf 3 2. Build benchbase.jar export JAVA_HOME=/opt/jdk-17 export PATH=$PATH:$JAVA_HOME/bin cd $HOME/code rm -rf benchbase git clone https://github.com/yugabyte/benchbase.git cd benchbase ./mvnw clean package -P yugabyte -DskipTests cd target tar xvzf benchbase-yugabyte.tgz cd benchbase-yugabyte/ 3. Run the test command and see no PG process crash. /opt/jdk-17/bin/java -Xmx8g -jar benchbase.jar -b voter -c config/yugabyte/sample_voter_config.xml --create=true --load=true --execute=true --params endpoint=127.0.0.1 -im 5000 2>&1 Reviewers: fizaa Reviewed By: fizaa Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D34147
myang2021
added a commit
that referenced
this issue
Apr 16, 2024
…ll" command Summary: To reproduce this bug: ``` ./bin/ysqlsh -c "show all" server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. connection to server was lost ``` The reason is that a GUC variable must have a non-NULL short_desc that the "show all" command needs to access. When I added the new GUC `yb_enable_ddl_atomicity_infra` in commit 6091cc8, I added the text description to long_desc when it should be short_desc. Fixed by swapping them. Jira: DB-10864 Original commit: 7036256 / D34147 Test Plan: (1) Manual test, `show all` now works ./bin/ysqlsh -c "show all" (2) Run the original benchbase test in the issue and it now passes 1. Start a local RF-3 cluster ./bin/yb-ctl create --rf 3 2. Build benchbase.jar export JAVA_HOME=/opt/jdk-17 export PATH=$PATH:$JAVA_HOME/bin cd $HOME/code rm -rf benchbase git clone https://github.com/yugabyte/benchbase.git cd benchbase ./mvnw clean package -P yugabyte -DskipTests cd target tar xvzf benchbase-yugabyte.tgz cd benchbase-yugabyte/ 3. Run the test command and see no PG process crash. /opt/jdk-17/bin/java -Xmx8g -jar benchbase.jar -b voter -c config/yugabyte/sample_voter_config.xml --create=true --load=true --execute=true --params endpoint=127.0.0.1 -im 5000 2>&1 Reviewers: fizaa, smishra Reviewed By: smishra Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D34185
myang2021
added a commit
that referenced
this issue
Apr 17, 2024
Summary: This is a follow up diff that addresses a previous review comment for 7036256 by adding a new unit test to ensure "show all" command works without crashing PG backend. Earlier the unit test could not run successfully on my local dev vm because my /bin/java was too old (openjdk-8). After I upgraded to openjdk-11 the unit test now passes. Jira: DB-10864 Test Plan: ./yb_build.sh release --java-test org.yb.pgsql.TestPgConfiguration Reviewers: fizaa Reviewed By: fizaa Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D34196
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
2024.1_blocker
area/ysql
Yugabyte SQL (YSQL)
kind/bug
This issue is a bug
priority/medium
Medium priority issue
Jira Link: DB-10864
Description
Trying to start voter benchbase benchmark
Launch command
Core dump:
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: