[
https://issues.apache.org/jira/browse/NIFI-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Zhurakousky updated NIFI-3495:
-----------------------------------
Description:
This condition is very rare. It only occurs when read ahead (call to _fill()_)
is made inside of the _isEol_ operation which essentially sets the new index
which then is reset inside of the main _nextOffsetInfo_ operation.
So the fix is to basically monitor if _isEol_ had to perform read ahead and if
it did do not reset the index.
was:
This condition is very rare. It only occurs when read ahead (call to _fill()_)
is made inside of the _isEol_ operation which essentially sets the new index
which then is reset inside of the main _nextOffsetInfo_ operation.
So the fox is to basically monitor if _isEol_ had tio perform read ahead and if
it did do not reset the index.
> TextLineDemarcator sets the wrong index when read ahead is performed in isEol
> operation
> ---------------------------------------------------------------------------------------
>
> Key: NIFI-3495
> URL: https://issues.apache.org/jira/browse/NIFI-3495
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Oleg Zhurakousky
> Assignee: Oleg Zhurakousky
> Priority: Critical
> Fix For: 1.2.0
>
>
> This condition is very rare. It only occurs when read ahead (call to
> _fill()_) is made inside of the _isEol_ operation which essentially sets the
> new index which then is reset inside of the main _nextOffsetInfo_ operation.
> So the fix is to basically monitor if _isEol_ had to perform read ahead and
> if it did do not reset the index.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)