-
Notifications
You must be signed in to change notification settings - Fork 182
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
Future creates fail for files that are deleted remotely #577
Comments
I think the mount-s3 is not designed for this usage scene: multiprotocol and distributed. Any fops shoulde be go through from the only mount point Or console/cli fop should serialize with the mount point fops, not concurren/parallel. |
I ran into this problem as well, and it is not a concurrency issue. All you need is a system with more than one component (or I suppose more than one instance of a component). In our case, worker A creates object at key using mountpoint-s3. A minute later, service B deletes object at key using API. A couple of minutes later, worker A tries to create object at same key again using mountpoint-s3 and gets this error |
Hey both! While we don't recommend mutating the same file/object when other processes are reading/writing to it, this isn't the behavior we expect. The use case described in the issue should work - it should be possible for the file to be created. This issue is actually self-reported by the mountpoint-s3 team, @sauraank has opened pull request #584 that we believe addresses the cause of the issue. It still requires review from our team. |
Hey folks, this should be fixed in the latest Mountpoint release: https://github.com/awslabs/mountpoint-s3/releases/tag/mountpoint-s3-1.1.1 |
Mountpoint for Amazon S3 version
mountpoint-s3 v1.1.0
AWS Region
eu-west-1
Describe the running environment
Running in EC2 on OS Amazon Linux2 with S3 bucket in the same account as EC2 instance.
What happened?
When we are creating a new object and then deleting the object using CLI/Console it gets deleted successfully. However when we try re-creating the same object name it gives error
No such file or directory
.Relevant log output
Note when we are trying to recreate there is no fuse request to lookup and mknod.
The text was updated successfully, but these errors were encountered: