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

Add a new isAws flag to enable aws v2 api #583

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maobaolong
Copy link

@maobaolong maobaolong commented Nov 17, 2020

This PR is another way to fix the infinite listObject issue, other than apache/ozone#1595

@maobaolong
Copy link
Author

@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.

@kahing
Copy link
Owner

kahing commented Mar 26, 2021

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

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.

None yet

2 participants