你好,MongoDB同步报如下问题:com.alibaba.datax.common.exception.DataXException Code[Framework-02], Description[The DataX engine encountered an error during running. For the specific cause, refer to the error diagnosis after DataX stops running. ]. - com.mongodb.MongoCommandException Command failed with error 59 'no such cmd splitVector' on server 1.madsdfdfstatus.comss. The full response is { ok 0.0, errmsg no such cmd splitVector, code 59 }
【问题原因】:因为某些版本的mongodb不支持splitVector。
【解决方案】:
1. 切换成单并发任务。
2. 任务转脚本模式,MongoDB读端添加配置 "useSplitVector":false。