Hi Debezium Community,
We had problem for Oracle CDC.
We created CDC environment on Oracle RAC Cluster (with 2 instances).
When it just started, it worked normally, but after hours, connector always reported messages like below:
INFO Redo Thread 1 is inconsistent; expected archive log with range just before scn 19818505320085.
Caused by: io.debezium.connector.oracle.logminer.LogFileNotFoundException: None of the log files contain offset SCN: 19818505320085, re-snapshot is required.
But we checked that SCN, we beleived it still in redo log files or archived log files.
We noticed that this message:
Redo thread 2 is marked private, excluded.
We read comments on source code (OracleConnection.java):
// Redo threads that are marked PRIVATE are used solely for instance recovery, and
// therefore should be ignored by Debezium.
For our Oracle RAC Cluster, 1 thread is PUBLIC, another is PRIVATE.
Does this is root cause why our CDC always become inconsistent?
How Debezium handle PRIVATE thread?
Does all threads in Oracle RAC Cluster MUST BE PUBLIC to ensure Oracle CDC work nomally?
Thanks.
Min-Jen Chang