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

Pp 1755 fix overdrive sweep transaction errors #2091

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dbernstein
Copy link
Contributor

@dbernstein dbernstein commented Sep 27, 2024

Description

This update adds another error (InvalidRequestError) to look for in the retry logic of the monitor. I don't fully understand why this error is getting generated while the overdrive format sweep. According to the error message associated with the error, a transaction is being closed inside a context manager. How or why that is happening is unclear but it appears to be an error that can be recovered from with a retry.

Motivation and Context

https://ebce-lyrasis.atlassian.net/browse/PP-1755

How Has This Been Tested?

Manually tested with an overdrive collection that was previously failing.
Updated unit test for the monitor.

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests 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.

2 participants