Hi all :wave: Feedback after upgrading `source-mys...
# give-feedback
f
Hi all đź‘‹ Feedback after upgrading
source-mysql
from 3.51.5 to 3.53.10 on self-hosted Airbyte (platform 2.0.1, Helm on GKE, ~65 MySQL CDC connections syncing every 15 min to BigQuery). We upgraded because of a CDC data-loss bug in 3.51.5: an event that arrived while the Debezium engine was shutting down at the end of a sync was never emitted, but the saved offset already pointed past it, so the next sync never read it again. We confirmed it on real rows (present in MySQL, missing in BigQuery, while the counters matched). 3.53.10 fixes it, thanks for #70360 / #88151 The upgrade also brought two regressions that hurt us, details in thread
đź‘€ 1
1. Log flood from the schema history replay (Debezium 3.1.2 → 3.4.3, from 3.53.9) Each sync now logs one INFO line (~1.5 KB) per replayed DDL that matches the default DDL filter:
a DDL '[REDACTED]' was filtered out of processing by regular expression 'DROP TEMPORARY TABLE IF EXISTS ...'
On a connection with a large schema history (~170k records, see #74002) that is ~176k lines and ~266 MB of job log per sync, against 0 lines on 3.51.5 with the same history. Our 100 GB MinIO filled overnight, so syncs started failing, and 2 GiB orchestrators ran out of memory. Workaround: a copy of the connector’s log4j2.xml with
io.debezium.storage.file.history
and
io.debezium.relational.history
at WARN, passed with
SOURCE_MYSQL_OPTS=-Dlog4j2.configurationFile=...
.
javabase.sh
forces
-Dlog4j2.configurationFile=log4j2.xml
in JAVA_OPTS, and the Gradle start script appends SOURCE_MYSQL_OPTS after it. Note that the logger to silence is the concrete
FileSchemaHistory
class, not the
AbstractSchemaHistory
shown in the log line. A sync’s job log went from 9.1 MB to 138 KB. Ask: lower that message to DEBUG, or ship the connector with that logger at WARN. 2. Jobs stuck forever in SOCKET mode (race at startup) In SOCKET mode the destination (destination-bigquery, same
ClientSocket
code on 3.0.16 and 3.2.3) sometimes connects to the socket file before the source accepts connections, gets
Connection refused
, does not retry, and exits with code 1. The source then stays in
Waiting to connect...
with no timeout, and the job looks “running” until something kills it. We saw 0 occurrences in the 12 days before the upgrade and 13 in the 1.5 days after (~0.2% of syncs). Each one holds a slot until our 30-min watchdog cancels it. Asks: a retry with a short backoff in
ClientSocket.connect()
on the destination side, and a timeout on the source side when no reader connects (or the orchestrator stopping the source when the destination exits). What went well Both rollouts were easy to stage: definition version bump, preprod first, state backed up through the API. destination-bigquery 3.0.16 → 3.2.3 went in cleanly afterwards (no duplicates, no table recreation). The 3.2.1 fix for partial batches on cancelled syncs is very welcome given the stuck jobs above. Happy to share more details or test pre-release images.
j
Thanks for writing this up for the rest of us in the community so we know what to expect!
d
Thanks both!