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 media uploads in multi node deployments #713

Merged
merged 3 commits into from
Jan 7, 2025
Merged

Conversation

APB9785
Copy link
Contributor

@APB9785 APB9785 commented Jan 2, 2025

Resolves #709

UploadMetadata will now hold a :node along with the :path of the file. This ensures that in a multi-node setup, we are looking on the appropriate node when reading the file.

Copy link
Contributor

@leandrocp leandrocp left a comment

Choose a reason for hiding this comment

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

Looking good, just a comment to improve the remote call.

lib/beacon/media_library.ex Outdated Show resolved Hide resolved
lib/beacon/media_library.ex Outdated Show resolved Hide resolved
@APB9785 APB9785 requested a review from leandrocp January 2, 2025 20:20
@APB9785 APB9785 merged commit cc0ca8e into main Jan 7, 2025
3 checks passed
@APB9785 APB9785 deleted the apb/media-upload-fix branch January 7, 2025 17:59
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.

Multi-node deployments fail to upload files to MediaLibrary
2 participants