关键字
KingbaseFlysync,KFS,Oracle,redo,asm,不解析,file read error,break and loop again,not belong to me
问题描述
源端Oracle redo方式部署KFS,部署完成后,同步的表有增量,但是KFS没有解析出增量数据,查看KFS的日志,在日志中有以下类似的信息: Extractor.oracleredo.RedoParserThread file read error:file=xxxxx offset=xxx,break and loop again 或 [oracle - RedoParserThread-1] INFO extractor.oracle.redo.RedoPaserThread skip file that not belong to me : xxxx 经过排查,发现对应的日志文件存在,且配置的用户有权限读取日志文件。
问题分析
源端数据库部署在AIX操作系统上,字节序为大端。KFS配置文件中没有开启大端参数。
解决方案
- 停止KFS,replicator stop
- 在flysync.ini中添加字节序为大端参数: property=replicator.extractor.dbms.bigEndian=true
- 在KFS的解压目录/tools下执行./fspm update
- 启动KFS,replicator start