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

Fix for records that are too large by reducing the bulk update size #796

Conversation

sfisher
Copy link
Contributor

@sfisher sfisher commented Nov 15, 2024

See #792 for problems with some modified records deposited in the last few weeks. They had thousands of authors or more and I guess EZID hasn't seen records of this size until now.

I don't know how to test this really anywhere but production since the other environments don't contain the huge records.

But I manually modified the page size on production and verified it makes the error go away. Script called like.

python -u manage.py opensearch-update --updated_since=2024-11-04T00:00:00Z

I have a copy in ~/tmp/ezid so it could be checked out and pulled there and run there without affecting the production deployment.

…or OpenSearch (Some items had thousands or more authors that ballooned the size recently)
Copy link
Contributor

@jsjiang jsjiang left a comment

Choose a reason for hiding this comment

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

@sfisher Changes look good to me. Just change the merge base from "main" to "develop".

Jing

@sfisher sfisher changed the base branch from main to develop November 18, 2024 22:22
@sfisher sfisher merged commit b317e09 into develop Dec 3, 2024
1 check passed
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.

When running opensearch-update with date, production gives request size exceeded
2 participants