-
Notifications
You must be signed in to change notification settings - Fork 484
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
listObjectsV2 causes endless loop > 1000 items #578
Comments
Have you tried with mc does that work ? |
I was able to reproduce this. I can take it. |
@harshavardhana any chance of a new release which contains this fix? While the problem is not really an issue for me (as I switched back to the v1 api), all new users have a non working default configuration as V2 has been made the default. |
Sure we will make a new release soon @IsNull - thanks for getting back to us. |
This is also an issue for the latest |
Using the new (default) listObjectsV2 to list objects causes an endless loop when there are more than 1000 items returned by the server and recursive is set to
true
. The iterator will list the first 1000 items over and over again.I guess there is some error in the continuation token logic in the java client.
To reproduce, create 1001 items in a bucket and use the simplistic code below to list them:
If you have trouble reproducing it on your end let me know.
Versions
minio-java 3.0.4
minio RELEASE.2017-05-05T01-14-51Z
The text was updated successfully, but these errors were encountered: