alibaba / alibaba/DataX

odps传数据到mongoDB,很多数据没有更新

Open
#559 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

场景:我需要从odps传全表数据(数据有1亿条左右)到mongoDB。如果数据在mongo中已存在,则更新数据;如果数据在mongo中不存在,则插入数据。
问题:使用datax传输后,日志没有报错,传输数据量也没问题。但发现MongoDB中还有很多数据没有更新到最新数据。 然后用少量数据去测试传输,结果没有问题。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the full-table ODPS-to-MongoDB transfer described in the issue and compare existing MongoDB records with the completed transfer. Review the transfer logs and configuration to identify why some existing records remain outdated; done means all matching records are updated while missing records are inserted.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb
Domain
data-engineering, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.