Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-583

Make ChainedReader immutable

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 0.7.3
    • None
    • mysql-connector
    • None

    Description

      ChainedReader#add() alters the readers array list, breaking with the promise of thread-safety of this class. I'd suspect we don't alter the chained reader after starting it, so it should be addressable by extracting a builder and making the readers list unmodifiable.

      Attachments

        Activity

          People

            gunnar.morling Gunnar Morling
            gunnar.morling Gunnar Morling
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: