stripe-archive / mosql

MongoDB → PostgreSQL streaming replication
MIT License
1.63k stars 225 forks source link

Update Mongo driver to 2.0+ #132

Open johnnason opened 6 years ago

johnnason commented 6 years ago

Connects to https://github.com/stripe/mosql/issues/107

epaolillo commented 4 years ago

Hi, is it still maintained? if so - I got this error while trying to import on every table. Using Ryby 2.7 and your cloned MoSQL and Mongoriver

2: from /usr/local/bundle/gems/sequel-5.30.0/lib/sequel/connection_pool/threaded.rb:92:in hold' 1: from /usr/local/bundle/gems/mosql-0.5.0/lib/mosql/schema.rb:301:inblock in copy_data' /usr/local/bundle/gems/mosql-0.5.0/lib/mosql/schema.rb:301:in `check': ERROR: duplicate key value violates unique constraint "games_pkey" (PG::UniqueViolation) DETAIL: Key (_id)=(\x356366393066303331356261373630666561326537643163) already exists. CONTEXT: COPY games, line 729

Do you find any solution?

CLAassistant commented 4 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


John Nason seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.