Skip to content

build(config): 🔧 updated mysql configuration for development t… #1782

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

Conversation

marvinroman
Copy link
Contributor

To try and log which transactions are running slow and creating lock timeouts we are

  • Enables slow logging.
  • Doubles value for innodb_lock_wait_timeout to mitigate the error from occurring.

These settings will specifically only be deployed to just the development environment.

@jobara
Copy link
Collaborator

jobara commented Jun 8, 2023

@JureUrsic could you please review the config changes. You're probably the one that knows it the best.

Copy link
Contributor

@JureUrsic JureUrsic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@jobara jobara merged commit 5efb2be into dev Jun 13, 2023
@jobara jobara deleted the 1728-sqlstatehy000-general-error-1205-lock-wait-timeout-exceeded-try-restarting-transaction-sql-de branch June 13, 2023 10:45
marvinroman added a commit to marvinroman/platform that referenced this pull request Jul 24, 2023
…ssibility-exchange#1782)

build(config): 🔧 updated mysql configuration for development to have slow transaction logging
@marvinroman marvinroman restored the 1728-sqlstatehy000-general-error-1205-lock-wait-timeout-exceeded-try-restarting-transaction-sql-de branch September 3, 2023 21:40
@marvinroman marvinroman deleted the 1728-sqlstatehy000-general-error-1205-lock-wait-timeout-exceeded-try-restarting-transaction-sql-de branch September 3, 2023 21:44
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.

SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction (SQL: de...
3 participants