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

Check index tmp file exists before mv #3092

Merged

Conversation

mark-cooper
Copy link
Member

This is a small step towards improving support for multi-instance deployments of ArchivesSpace. We need to check the file exists as one instance may already have processed the file before another attempts to act on it, creating a race condition.

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have read the CONTRIBUTING document.
  • I have authority to submit this code.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

This is a small step towards improving support for multi-instance
deployments of ArchivesSpace. We need to check the file exists as
one instance may already have processed the file before another
attempts to act on it, creating a race condition.

This has no impact on current behavior.
@donaldjosephsmith donaldjosephsmith merged commit de4387a into archivesspace:master Feb 7, 2024
8 checks passed
@cdibella cdibella added this to the 3.5.0 milestone Feb 7, 2024
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

3 participants