CDC Replication Error: MySqlDbSet.getUUID() NullPointerException #74305
Replies: 2 comments 1 reply
-
|
Hi VladimirDVV, thank you for reporting this issue! I've reviewed your logs and can see the error clearly. The sync fails during the CDC read phase with: What's happening: The source-mysql connector is validating the stored CDC state (GTID set) against the current MySQL server's GTID set, but encounters a null reference when comparing UUID entries. This typically occurs when the MySQL server's GTID topology has changed since the last successful sync — for example, after a failover, replica topology change, or GTID purge on managed MySQL (YandexCloud in your case). Possible workaround: You can try resetting the connection state for this sync to force a full CDC re-sync: Steps to reset CDC state
This will clear the stored CDC state and start fresh, which should bypass the invalid GTID comparison. To help the team investigate further, could you share a few additional details?
This issue has been escalated to the internal team for investigation: https://github.com/airbytehq/oncall/issues/11532 Need more help? Join Airbyte Community Slack for peer support, or if you're a Cloud customer, open a support ticket referencing this URL. This message is generated from Devin.ai (internal session link). |
Beta Was this translation helpful? Give feedback.
-
|
Same Issue happened to me, also first sync with no previous CDC State, reseting didnt help, deleting stuff from DELETE FROM state DELETE FROM retry_states also didnt help |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I encountered an error when replicating MySQL in ClickHouse using CDC. The sync fails with a NullPointerException related to the CDC state.
Error Message:
Failure in source: incumbent CDC state is invalid, reason: java.lang.NullPointerException: Cannot invoke "io.debezium.connector.mysql.grid.MySqlDbSet.getUUID()" because "other" is null
Environment:
mysql___clickhouse_logs_8_txt.txt
Beta Was this translation helpful? Give feedback.
All reactions