Add `--mysql-wait-timeout` flag by timvaillancourt · Pull Request #1401 · github/gh-ost · GitHub
Skip to content

Add --mysql-wait-timeout flag - #1401

Merged
timvaillancourt merged 2 commits into
github:masterfrom
timvaillancourt:mysql-wait-timeout-flag
Apr 8, 2024
Merged

timvaillancourt merged 2 commits into
github:masterfrom
timvaillancourt:mysql-wait-timeout-flag

Conversation

@timvaillancourt

@timvaillancourt timvaillancourt commented Apr 5, 2024 •

Copy link
Copy Markdown
Collaborator

A Pull Request should be associated with an Issue.

Related issue:#1402

Description

This PR adds a --mysql-wait-timeout=# flag that sets the session-level wait_timeout if > 0. This will cause the server to cleanup inactive connections sooner or later depending on the value

In case this PR introduced Go code changes:

  • contributed code is using same conventions as original code
  • script/cibuild returns with no formatting errors, build errors or unit test errors.

Signed-off-by: Tim Vaillancourt <tvaillancourt@slack-corp.com>
@timvaillancourt
timvaillancourt merged commit c681f61 into github:master Apr 8, 2024
timvaillancourt added a commit to timvaillancourt/gh-ost that referenced this pull request Apr 8, 2024
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
@timvaillancourt timvaillancourt mentioned this pull request Apr 8, 2024
2 tasks done
@timvaillancourt timvaillancourt added this to the v1.1.7 milestone Apr 8, 2024
timvaillancourt added a commit that referenced this pull request Apr 9, 2024
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
@timvaillancourt
timvaillancourt deleted the mysql-wait-timeout-flag branch April 22, 2024 13:47
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.

2 participants