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

bugfix: Synchronize on target instead of origin when copying #2552

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Jan 2, 2025

This should help with the FileAlreadyExistsException that we are getting which is most likely caused by multiple threads writing at the same time. Blocking at origin file doesn't make much sense since it's the target that may fail, which is wrting.

Attempt at #2549

@Gedochao once this is merged we should try a snapshot version

This should help with the FileAlreadyExistsException that we are getting which is most likely caused by multiple threads writing at the same time.
@tgodzik tgodzik requested a review from adpi2 January 2, 2025 18:25
@tgodzik tgodzik merged commit 9058c4e into scalacenter:main Jan 3, 2025
13 checks passed
@tgodzik tgodzik deleted the parallel-compile branch January 3, 2025 09:07
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