Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.20.0
-
None
Description
NIFI-10888 introduced a BufferedInputStream inside of the ContentClaimInputStream to speed up rewinding in small flow files (<1MB).
Under some circumstances it can happen in reset that the delegate stream is closed and a new delegate stream is created, but the bufferedIn is not recreated with the new delegate.
During the next read this leads to a situation where it tries to read from bufferedIn and bufferedIn in turn tries to read from the old and closed delegate stream causing an IOException or FlowFileAccessException.
Attachments
Attachments
Issue Links
- is caused by
-
NIFI-10888 Improve performance of Record Readers when inferring schema of small FlowFiles
- Resolved
- links to