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

Ensure datastore_import queue has time to process #3727

Merged
merged 3 commits into from
Dec 21, 2021

Conversation

clayliddell
Copy link
Contributor

@clayliddell clayliddell commented Dec 17, 2021

This PR fixes the "MySQL server has gone away" error by setting the session wait_timeout to lease_time in datastore_import queue in order to ensure the queue's sql connection doesn't timeout.

fixes WCMS-7354

  • Test coverage exists
  • Documentation exists

QA Steps

  • Create a dataset with a REALLY BIG remote CSV file (5+ GB).
  • Run the datastore_import queue job.
  • Ensure the job succeeds.

Clayton Liddell added 3 commits December 17, 2021 15:37
Set session wait_timeout to lease_time in datastore_import queue in
order to ensure the queue's sql connection doesn't timeout.
@janette janette self-requested a review December 21, 2021 05:49
@janette janette merged commit ba62f67 into 2.x Dec 21, 2021
@janette janette deleted the 7354-fix-mysql-gone-away branch December 21, 2021 14:49
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.

None yet

2 participants