Skip to content

Conversation

@mattl-netflix
Copy link
Contributor

This prevents endless paginating through list results.

@mattl-netflix mattl-netflix merged commit b13010b into 4.x Dec 4, 2025
1 check passed
@sinchanah-dot
Copy link

The original code was calling objectListing.nextMarker() unconditionally for pagination, but S3 only populates nextMarker when a delimiter is specified. Without a delimiter, nextMarker() would be null or empty, causing the iterator to either fail to paginate properly or get stuck in an endless loop paginating through the same results.

This change looks good to me!

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.

3 participants