mirror of
https://github.com/apache/nifi.git
synced 2025-02-12 13:05:14 +00:00
ListS3 used to update currentKeys within listing loop, that causes duplicates. Because S3 returns object list in lexicographic order, if we clear currentKeys during the loop, we cannot tell if the object has been listed or not, in a case where newer object has a lexicographically former name. Signed-off-by: James Wing <jvwing@gmail.com> This closes #3116, closes #2361.