Created paths inside the bucket seem to be incorrect #198
Labels
bug
Something isn't working
needs triage
The issue needs to be triaged, before work can commence
on hold
Bug Description
Running integration tests (and probably when using the s3fs-nio lib) creates a root
/
object and additional/
objects inside some empty "directories". This is an issue for two reasons:When you do
fileSystemAmazon.getPath(bucket, "/")
one would expect to be receiving thebucket root path
- not an object named/
. :)Creating
/
objects in empty paths introduces additional operational costs because update/delete operations are counted per objects and are taxed by 1000 API requests. The more API requests you make - the more you would need to pay.Suspected code?
FilesIT#bucketIsDirectory
FilesIT#fileIsReadableBucket
S3ClientIT#putObjectWithStartSlash
Steps To Reproduce
Needs to be narrowed down, but if you run the S3 integration tests the result will be visible:
Screenshots
Relationships
This task is:
The text was updated successfully, but these errors were encountered: