TARGET:
/ogg/ggserr.log
WARNING OGG-01519 Oracle GoldenGate Delivery for Oracle, r_sh.prm: Waiting at EOF on input trail file /ogg/dirdat/PH000010205, which is not marked as complete; but succeeding trail file /ogg/dirdat/PH000010206 exists. If ALTER ETROLLOVER has been performed on source extract, ALTER EXTSEQNO must be performed on each corresponding downstream reader.
源端:info all,正常
目标端:r_sh ABENDED
GGSCI (cnsz-netfdb2) 20> info r_sh
REPLICAT R_SH Last Started 2021-09-16 15:23 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:02 ago)
Process ID 59907
Log Read Checkpoint File /ogg/dirdat/PH000010205
2021-08-31 18:02:24.848657 RBA 21454536
GGSCI (cnsz-netfdb2) 21>
trail文件PH000010205的检查点是半个月前之前,在该文件之后就再没投递过数据
view report r_sh
/ogg/ggserr.log
WARNING OGG-01519 Oracle GoldenGate Delivery for Oracle, r_sh.prm: Waiting at EOF on input trail file /ogg/dirdat/PH000010205, which is not marked as complete; but succeeding trail file /ogg/dirdat/PH000010206 exists. If ALTER ETROLLOVER has been performed on source extract, ALTER EXTSEQNO must be performed on each corresponding downstream reader.
解决方案(Solution)
Source
源端状态正常,不用操作
投递进程产生新的文件点
GGSCI (oggsource) 44> alter extract dp1 etrollover
GGSCI (oggsource) 45> stop ex1
GGSCI (oggsource) 46> stop dp1
GGSCI (oggsource) 47> stop mgr
GGSCI (oggsource) 50> start mgr
GGSCI (oggsource) 51> start ex1
GGSCI (oggsource) 52> start dp1
Target
从序列号1开始(PH000010206)
GGSCI (oggtarget) 10> stop r_sh
GGSCI (oggtarget) 14> alter replicat r_sh extseqno 10206 extrba 0
GGSCI (oggtarget) 15> start r_sh