When using JAVA minio client listObjects operation, the returned iterator repopulates after exceeding maxKeys limit.
Expected Behavior
Iterator hasNext method should not repopulate when maxKeys limit was set.
Current Behavior
S3Base class populates till it gets isTruncated as false from server
Steps to Reproduce (for bugs)
- Populate minio bucket;
- Make listObjects request with JAVA client and set maxKeys value.
Your Environment
When using JAVA minio client listObjects operation, the returned iterator repopulates after exceeding maxKeys limit.
Expected Behavior
Iterator
hasNextmethod should not repopulate whenmaxKeyslimit was set.Current Behavior
S3Base classpopulates till it getsisTruncatedas false from serverSteps to Reproduce (for bugs)
Your Environment
8.4.6