Question & Answer
Question
Received QLCODE=-911 message from the source log reader when IIDR Db2 LUW is working as source, the message example like the following:
SHAREDSCRAPE LOG READER FOR NODE 0{529183} com.datamirror.ts.eventlog.EventLogger logActualEvent() Event logged: ID=2901 MSG=The log reader has encountered a problem reading the log file. An error has occurred in the log reader. The SQL error code is '-911'. The SQL state is: 40001. The error message is: "The current transaction has been rolled back because of a deadlock or timeout. Reason code "68".. SQLCODE=-911, SQLSTATE=40001, DRIVER=4.31.10". java.sql.SQLTransactionRollbackException The current transaction has been rolled back because of a deadlock or timeout. Reason code "68".. SQLCODE=-911, SQLSTATE=40001, DRIVER=4.31.10| at com.ibm.db2.jcc.am.b7.a(b7.java:797)| at com.ibm.db2.jcc.am.b7.a(b7.java:66)| at com.ibm.db2.jcc.am.b7.a(b7.java:140)| at com.ibm.db2.jcc.am.ResultSet.completeSqlca(ResultSet.java:4329)| at com.ibm.db2.jcc.t4.ac.h(ac.java:300)| at com.ibm.db2.jcc.t4.ac.a(ac.java:256)| at com.ibm.db2.jcc.t4.ac.c(ac.java:31)| at com.ibm.db2.jcc.t4.q.a(q.java:32)| at com.ibm.db2.jcc.t4.h.readFetch_(h.java:266)| at com.ibm.db2.jcc.am.ResultSet.flowFetch(ResultSet.java:4065)| at com.ibm.db2.jcc.t4.c.f(c.java:2447)| at com.ibm.db2.jcc.am.bi.a(bi.java:257)| at com.ibm.db2.jcc.t4.c.a(c.java:129)| at com.ibm.db2.jcc.am.ResultSet.nextX(ResultSet.java:464)| at com.ibm.db2.jcc.am.ResultSet.next(ResultSet.java:383)| at com.datamirror.ts.jdbc.CdcResultSet.next(CdcResultSet.java:517)| at com.datamirror.ts.jdbc.db2.Db2CdcResultSet.next(Db2CdcResultSet.java:1059)| at com.datamirror.ts.jdbc.CdcJdbcResultSet.next(CdcJdbcResultSet.java:501)| at com.datamirror.ts.scrapers.db2udbscraper.RecordReader.checkIfNewPartitionAdded(RecordReader.java:711)| at com.datamirror.ts.scrapers.db2udbscraper.RecordReader.reloadPartitionIdsIfNecessary(RecordReader.java:2460)| at com.datamirror.ts.scrapers.db2udbscraper.RecordReader.readNextLogRecord(RecordReader.java:612)| at com.datamirror.ts.scrapers.db2udbscraper.Db2udbLogReader.readLog(Db2udbLogReader.java:323)| at com.datamirror.ts.scrapers.cdc.LogReader.execute(LogReader.java:394)| at com.datamirror.ts.scrapers.cdc.LogReader$LogReaderPipelineJob.execute(LogReader.java:112)| at com.datamirror.ts.engine.component.PipelineThread.runThread(PipelineThread.java:217)| at com.datamirror.ts.util.TsThread.run(TsThread.java:130)
How to fix or work around the issue?
[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTRGZ","label":"InfoSphere Data Replication"},"ARM Category":[{"code":"a8m0z000000cws5AAA","label":"Db2 for LUW"}],"ARM Case Number":"TS012911427","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"11.3.3;11.4.0"}]
To view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
More support for:
InfoSphere Data Replication
Component:
Db2 for LUW
Software version:
11.3.3, 11.4.0
Operating system(s):
AIX, Linux, Windows
Document number:
7009317
Modified date:
05 July 2023
UID
ibm17009317
Manage My Notification Subscriptions