Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6428

CaptureChangeMySQL throws IOException with BEGIN event due to lingering 'inTransaction' instance variable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.20.0, 1.19.1
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            ijokarumawak Koji Kawamura
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m