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

Synchronization issue on flush

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.10.2.0
    • Fix Version/s: 0.11.0.1, 1.0.0
    • Component/s: KafkaConnect
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                olkuznsmith Oleg Kuznetsov
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: