xiaohundun opened a new issue, #7398: URL: https://github.com/apache/seatunnel/issues/7398
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened STREAMING job with "startup.mode = earliest" failed **LOGļ¼** ``` 2024-08-14 11:02:13,015 ERROR [i.d.p.ErrorHandler ] [debezium-reader-0] - Producer failure java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at io.debezium.connector.sqlserver.Lsn.compareTo(Lsn.java:149) ~[?:?] at io.debezium.connector.sqlserver.SqlServerStreamingChangeEventSource.executeIteration(SqlServerStreamingChangeEventSource.java:228) ~[?:?] at io.debezium.connector.sqlserver.SqlServerStreamingChangeEventSource.execute(SqlServerStreamingChangeEventSource.java:150) ~[?:?] at org.apache.seatunnel.connectors.seatunnel.cdc.sqlserver.source.source.reader.fetch.transactionlog.SqlServerTransactionLogFetchTask$TransactionLogSplitReadTask.execute(SqlServerTransactionLogFetchTask.java:168) ~[?:?] at org.apache.seatunnel.connectors.seatunnel.cdc.sqlserver.source.source.reader.fetch.transactionlog.SqlServerTransactionLogFetchTask.execute(SqlServerTransactionLogFetchTask.java:75) ~[?:?] at org.apache.seatunnel.connectors.cdc.base.source.reader.external.IncrementalSourceStreamFetcher.lambda$submitTask$0(IncrementalSourceStreamFetcher.java:106) ~[?:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:840) [?:?] ``` ### SeaTunnel Version 2.3.6 ### SeaTunnel Config ```conf seatunnel: engine: classloader-cache-mode: true history-job-expire-minutes: 1440 backup-count: 1 queue-type: blockingqueue print-execution-info-interval: 60 print-job-metrics-info-interval: 60 slot-service: dynamic-slot: true checkpoint: interval: 300000 timeout: 60000 storage: type: hdfs max-retained: 3 plugin-config: namespace: /tmp/seatunnel/checkpoint_snapshot storage.type: hdfs fs.defaultFS: file:///tmp/ # Ensure that the directory has written permission ``` ### Running Command ```shell submit job { "env": { "job.name": "dbo_INV_Invtory_Batch_reverse", "job.mode": "STREAMING", "parallelism": 1, "checkpoint.interval": 300000 }, "source": [ { "plugin_name": "SqlServer-CDC", "exactly_once": "true", "result_table_name": "dbo_INV_Invtory_Batch_reverse", "username": "sa", "password": "!QAZxsw2", "startup.mode": "earliest", "database-names": [ "gemini" ], "table-names": [ "gemini.dbo.INV_Invtory_Batch" ], "table-names-config": [ { "table": "gemini.dbo.INV_Invtory_Batch", "primaryKeys": [ "id" ] } ], "base-url": "jdbc:sqlserver://172.16.2.14:1433;encrypt=true;trustServerCertificate=true;databaseName=gemini;" } ], "sink": [ { "plugin_name": "Jdbc", "source_table_name": "dbo_INV_Invtory_Batch_reverse", "driver": "com.microsoft.sqlserver.jdbc.SQLServerDriver", "url": "jdbc:sqlserver://172.16.2.3:1433;encrypt=true;trustServerCertificate=true;databaseName=gemini;", "user": "cdc", "password": "q4^9!85vxFEb", "generate_sink_sql": "true", "database": "gemini", "table": "dbo.INV_Invtory_Batch_reverse", "primary_keys": [ "id" ] } ] } ``` ### Error Exception ```log Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at io.debezium.connector.sqlserver.Lsn.compareTo(Lsn.java:149) ~[?:?] at io.debezium.connector.sqlserver.SqlServerStreamingChangeEventSource.executeIteration(SqlServerStreamingChangeEventSource.java:228) ~[?:?] at io.debezium.connector.sqlserver.SqlServerStreamingChangeEventSource.execute(SqlServerStreamingChangeEventSource.java:150) ~[?:?] at org.apache.seatunnel.connectors.seatunnel.cdc.sqlserver.source.source.reader.fetch.transactionlog.SqlServerTransactionLogFetchTask$TransactionLogSplitReadTask.execute(SqlServerTransactionLogFetchTask.java:168) ~[?:?] at org.apache.seatunnel.connectors.seatunnel.cdc.sqlserver.source.source.reader.fetch.transactionlog.SqlServerTransactionLogFetchTask.execute(SqlServerTransactionLogFetchTask.java:75) ~[?:?] at org.apache.seatunnel.connectors.cdc.base.source.reader.external.IncrementalSourceStreamFetcher.lambda$submitTask$0(IncrementalSourceStreamFetcher.java:106) ~[?:?] ... 5 more ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
