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

Bug Report: vttestserver returns wrong result in version() #16686

Closed
GiedriusS opened this issue Aug 30, 2024 · 1 comment
Closed

Bug Report: vttestserver returns wrong result in version() #16686

GiedriusS opened this issue Aug 30, 2024 · 1 comment

Comments

@GiedriusS
Copy link

GiedriusS commented Aug 30, 2024

Overview of the Issue

I see vttestserver:mysql57 returning the wrong version:

mysql -h127.0.0.1 -uroot --port 33577 -e "select version();"
+---------------+
| version()     |
+---------------+
| 8.0.30-Vitess |
+---------------+

Reproduction Steps

Run vttestserver with:

docker run --name=vttestserver \
  -p 33574:33574 \
  -p 33575:33575 \
  -p 33577:33577 \
  -e PORT=33574 \
  -e KEYSPACES=foo \
  -e NUM_SHARDS=1 \
  -e MYSQL_MAX_CONNECTIONS=70000 \
  -e MYSQL_BIND_HOST=0.0.0.0 \
  -e VTCOMBO_BIND_HOST=0.0.0.0 \
  -e MYSQL_SERVER_VERSION=5.7.9-vitess \
  --health-cmd="mysqladmin ping -h127.0.0.1 -P33577" \
  --health-interval=5s \
  --health-timeout=2s \
  --health-retries=5 \
  vitess/vttestserver:mysql57

Check version:

mysql -h127.0.0.1 -uroot --port 33577 -e "select version();"

+---------------+
| version()     |
+---------------+
| 8.0.30-Vitess |
+---------------+

Expected to see 5.7.9-vitess here.

I see --mysql_server_version 5.7.9-vitess passed inside of the container so something must be wrong somewhere deeper than the container image itself.

Binary Version

N/A

Operating System and Environment details

N/A

Log Fragments

No response

@GiedriusS GiedriusS added Needs Triage This issue needs to be correctly labelled and triaged Type: Bug labels Aug 30, 2024
@frouioui frouioui added Component: vttestserver and removed Needs Triage This issue needs to be correctly labelled and triaged labels Sep 2, 2024
@frouioui
Copy link
Member

frouioui commented Sep 2, 2024

Hey @GiedriusS, we have dropped support for vitess/vttestserver:mysql57 a long time ago and removed the associated Dockerfile through #15827, the image:tag is still available on Dockerhub but no longer maintained. I don't think this will be fixed, I am closing this issue but feel free to re-open if needed

@frouioui frouioui closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants