goofys icon indicating copy to clipboard operation
goofys copied to clipboard

Add a new isAws flag to enable aws v2 api

Open maobaolong opened this issue 4 years ago • 2 comments

This PR is another way to fix the infinite listObject issue, other than https://github.com/apache/ozone/pull/1595

maobaolong avatar Nov 17 '20 07:11 maobaolong

@kahing As Ozone use Goofys as an Office suggestion way to supply fuse program, and now when I use goofys to list a more than 1000 files bucket, goofys will stuck and send listObjectRequest to the Ozone s3g time and time forever unstop.

After a debug, I found that the key point is that goofys use ListObject v1 api to communicate to Ozone s3gateway, but Ozone s3gateway only implemented ListObject v2 version. I tested that if we merge this PR and add a --isAws flag can force to use ListObject v2 version, so this issue can be resolved.

Please take a look, thanks.

maobaolong avatar Nov 17 '20 07:11 maobaolong

Could you explain why using ListObjectV1 was causing problems? seems like there's a bug on the server side and you have fixed that?

kahing avatar Mar 26 '21 21:03 kahing