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

DdlChanges not reset in schema history recovery

XMLWordPrintable

      We observed that `DdlChanges` in `MySqlDatabaseSchema` is reset with every new `parseDdl` call during snapshotting and streaming. However, during schema history recovery, the DDL parser doesn't do the same.

      This leads to unnecessary memory being accumulated until a DDL is consumed by the task from the streaming phase.

      Fix –
      We need to clear the `DdlChanges` inside the the parser itself, so that all implementations benefit from it and memory is not clogged.

              Unassigned Unassigned
              akanimesh7 Animesh Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: