gianm opened a new issue #9097: S3: Infinite loop when listing prefixes that need multiple batches URL: https://github.com/apache/druid/issues/9097 `S3Utils.lazyFetchingObjectSummariesIterator` and `S3Utils.objectSummaryIterator` (used for listing prefixes by S3InputSource and StaticS3FirehoseFactory) both have a bug where they do something like this: ```java if (result.isTruncated()) { request.setContinuationToken(result.getContinuationToken()); } ``` i.e. they make follow-on requests based on the continuation token of the prior result. But this is wrong, since they should do it based on the _next_ continuation token: `result.getNextContinuationToken()`. This leads to an infinite loop if more than one batch is needed.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
