Github user MikeThomsen commented on the issue:
https://github.com/apache/nifi/pull/2294
@mgaido91 That loop, incidentally, is being eliminated now because I
decided to follow the same practice that was used in PutHBaseRecord where on
failure it adds "restart.index" which is roughly where in the loop it failed.---
