-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
0.10.0.Final
-
None
Parallel snapshot (to whitelist tables later) fails on AWS RDS MySQL with exception:
INFO Step 8: rolling back transaction after abort (io.debezium.connector.mysql.SnapshotReader:686) ERROR Failed due to error: Aborting snapshot due to error when last running 'UNLOCK TABLES': Table 'Personnel' was not locked with LOCK TABLES (io.debezium.connector.mysql.SnapshotReader:209) org.apache.kafka.connect.errors.ConnectException: Table 'X' was not locked with LOCK TABLES Error code: 1100; SQLSTATE: HY000. at io.debezium.connector.mysql.AbstractReader.wrap(AbstractReader.java:230) at io.debezium.connector.mysql.AbstractReader.failed(AbstractReader.java:208) at io.debezium.connector.mysql.SnapshotReader.execute(SnapshotReader.java:773) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.sql.SQLException: Table 'Community' was not locked with LOCK TABLES at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.StatementImpl.executeQuery(StatementImpl.java:1218) at io.debezium.jdbc.JdbcConnection.query(JdbcConnection.java:442) at io.debezium.jdbc.JdbcConnection.query(JdbcConnection.java:385) at io.debezium.connector.mysql.SnapshotReader.execute(SnapshotReader.java:470)
- relates to
-
DBZ-1091 Follow-up tasks for filter config change handling
- Closed