Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
As explained in NIFI-7972 on an NFS mount files can have temporary dummy data of NUL bytes. This was addressed at that Jira but the implementation contains a bug that can lead to characters skipped when encountering NUL bytes.
The root cause is that the reader (FileChannel) is not repositioned properly. This wasn't discovered by the newly added unit tests because the second run call (after the simulated NUL byte replacement) was also called with initialize = true parameter, so the respective reader was reinitalized and repositioned. See [1]
Attachments
Issue Links
- links to