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

Blobstore can throw FileAlreadyExistsException #10447

Open
rymsha opened this issue Mar 8, 2024 · 0 comments
Open

Blobstore can throw FileAlreadyExistsException #10447

rymsha opened this issue Mar 8, 2024 · 0 comments
Assignees
Labels

Comments

@rymsha
Copy link
Contributor

rymsha commented Mar 8, 2024

With a chance of nodes to be created with exactly the same blob (and it does not already exist) - there is a race condition

if (file.exists) -> return false for both threads/instances
----------------> race is here
file.write -> both threads/instances want to write.

one of the nodes won't be created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant