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

AO3-5578 Add a transaction to pseud image migration #5018

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

zz9pzza
Copy link
Contributor

@zz9pzza zz9pzza commented Jan 8, 2025

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-5578

Purpose

Try and reduce the load on the database, we might be able to remove the sleep.

Testing Instructions

How can the Archive's QA team verify that this is working as you intended?

If you have a Jira account with access, please update or comment on the issue
with any new or missing testing instructions instead.

References

Are there other relevant issues/pull requests/mailing list discussions?

Credit

What name and pronouns should we use to credit you in the Archive of Our Own's Release Notes?

james_/Him

@brianjaustin brianjaustin merged commit d01c7a6 into otwcode:master Jan 8, 2025
29 checks passed
@redsummernight redsummernight changed the title AO3-5578 Add a transaction to Psued image migration AO3-5578 Add a transaction to pseud image migration Jan 10, 2025
slavalamp pushed a commit to slavalamp/otwarchive that referenced this pull request Jan 12, 2025
brianjaustin added a commit that referenced this pull request Jan 22, 2025
)

* AO3-5502 correct page title on adult content warning chapters

* AO3-5502 add Cucumber test

* AO3-5502 satisfy Rubocop

* AO3-5578 ActiveStorage copy script performance fixes (#5015)

* AO3-5578 ActiveStorage copy script performance fixes

* Flush $stdout to force message visibility

* AO3-6873 Upgrade Elasticsearch for dev and automated tests (#5016)

* AO3-5578 Avoid unnecessary DB writes when copying icons (#5017)

* AO3-5578 Avoid unnecessary DB writes when copying icons

* Rubocop :fistshake:

* AO3-5578 Add a transaction to Psued image migration (#5018)

Add a transaction

* AO3-5578 Try to be nicer to the database when copying icons (#5019)

* Test listing in s3

* Other tasks & fixes

* Experiment with delayed upload

* Fixes

* Upload after txn

* Rubocop things

* Fixes

* Avoid duplicate attachments

* Revert "Avoid duplicate attachments"

This reverts commit 476bd02.

* AO3-5502 satisfy Rubocop again...?

* AO3-5502 satisfy more Rubocop

* AO3-5502 formatting improvements

* AO3-5502 make sure it's the adult notice page in the test

* AO3-5502 add another indent i forgot

---------

Co-authored-by: Brian Austin <[email protected]>
Co-authored-by: Bilka <[email protected]>
Co-authored-by: james_ <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants