[
https://issues.apache.org/jira/browse/NIFI-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641522#comment-17641522
]
ASF subversion and git services commented on NIFI-6428:
-------------------------------------------------------
Commit 0a09aa57fd9d69626cc6b2a1ae24fb515f1d4944 in nifi's branch
refs/heads/support/nifi-1.19 from sssqhai
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0a09aa57fd ]
NIFI-6428 Add 'inTransaction' value to state,fix bug
Signed-off-by: Matthew Burgess <[email protected]>
This closes #6036
> CaptureChangeMySQL throws IOException with BIGIN event due to lingering
> 'inTransaction' instance variable
> ---------------------------------------------------------------------------------------------------------
>
> Key: NIFI-6428
> URL: https://issues.apache.org/jira/browse/NIFI-6428
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Koji Kawamura
> Priority: Major
> Fix For: 1.20.0, 1.19.1
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Because of not clearing 'inTransaction' instance variable when the processor
> stops, when a user clears processor state and restart it with a specific
> initial binlog position, then if BEGIN event is received, the processor
> throws an IOException.
> The processor should reset 'inTransaction' to false, and also other instance
> variables when it start with an empty processor state.
> The issue was reported at NiFi user ML.
> [https://mail-archives.apache.org/mod_mbox/nifi-users/201907.mbox/%3C2019070919385393266224%40geekplus.com.cn%3E]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)