Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5756

Synchronization issue on flush

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.2.0
    • 3.5.0, 3.4.1, 3.3.3
    • connect
    • None

    Description

      Access to OffsetStorageWriter#toFlush is not synchronized in doFlush() method, whereas this collection can be accessed from 2 different threads:

      • WorkerSourceTask.execute(), finally block
      • SourceTaskOffsetCommitter, from periodic flush task

      Attachments

        Issue Links

          Activity

            People

              gharris1727 Greg Harris
              olkuznsmith Oleg Kuznetsov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: