Skip to content

JAVA client iterator repopulates after exceeding maxKeys limit #1407

@domantasVizinis

Description

@domantasVizinis

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)

  1. Populate minio bucket;
  2. Make listObjects request with JAVA client and set maxKeys value.

Your Environment

  • minio 8.4.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions