-
Bug
-
Resolution: Unresolved
-
Major
-
1.9.2.Final
-
None
-
False
-
None
-
False
-
In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.
Bug report
For bug reports, provide this information, please:
What Debezium connector do you use and what version?
v1.9.2.Final
What is the connector configuration?
This is a design issue unrelated to the configuration.
What is the captured database version and mode of depoyment?
Irrelevant
What behaviour do you expect?
The connector ignores duplicates in the database schema history.
What behaviour do you see?
The connector consumes duplicates from the database schema history which causes schema corruption.
Do you see the same behaviour using the latest relesead Debezium version?
I haven't tested it but the likely exists in all versions since it's by design.
Do you have the connector logs, ideally from start till finish?
No.
How to reproduce the issue using our tutorial deployment?
Reproducing the issue requires an emergency shutdown of the Kafka Connect worker (e.g. due to an out-of-memory issue). It's hard to reproduce it in a reliable way. See details in the steps to reproduce.
Feature request or enhancement
Which use case/requirement will be addressed by the proposed feature?
Connector stability.
Implementation ideas (optional)
- Make the keys of schema change history globally unique by adding the sequence number within the binlog event to the schema change metadata.
- When recovering schema from history, keep track of the binlog filename, position, and sequence number of the last processed schema change. Ignore all changes with the binlog filename, position, and sequence number less or equal to the last processed thereby deduplicating history.
TODO:
Is the source metadata of schema change events of other connectors sufficient for deduplication? If not, what do we do to address the issue in the MySQL connector without breaking others?
- account is impacted by
-
DBZ-5849 Debezium 2.0 MySQL try to update/get info about a table in a schema not listed in the connector and fails.
- Closed