Giter VIP home page Giter VIP logo

Comments (4)

afloyd avatar afloyd commented on August 16, 2024

I don't have any replication sets to test with, but if you submit a pull
request I'll merge it

On Fri, Sep 11, 2015, 9:51 PM Erik Johansen [email protected]
wrote:

Using latest mongodb native(2.0.49) the function for defining Replica set
servers seems to have been changed to ReplSet, and is no longer
ReplSetServers

node_modules/mongodb-migrate/lib/db.js:22
return new mongodb.ReplSetServers(replServers);
^
TypeError: undefined is not a function
at getReplicaSetServers (/Users/Shared/Development/NikeBuild/present/web/node_modules/mongodb-migrate/lib/db.js:22:11)
at Object.getConnection (/Users/Shared/Development/NikeBuild/present/web/node_modules/mongodb-migrate/lib/db.js:31:11)
at performMigration (/Users/Shared/Development/NikeBuild/present/web/node_modules/mongodb-migrate/index.js:267:6)
at commands.up (/Users/Shared/Development/NikeBuild/present/web/node_modules/mongodb-migrate/index.js:203:4)
at runMongoMigrate (/Users/Shared/Development/NikeBuild/present/web/node_modules/mongodb-migrate/index.js:319:10)
at Object. (/Users/Shared/Development/NikeBuild/present/web/node_modules/mongodb-migrate/index.js:375:2)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)


Reply to this email directly or view it on GitHub
#45.

from mongo-migrate.

beholderrk avatar beholderrk commented on August 16, 2024

This PR can allow to avoid problem with ReplSet

from mongo-migrate.

akoskm avatar akoskm commented on August 16, 2024

Any chance for this to be merged?

from mongo-migrate.

afloyd avatar afloyd commented on August 16, 2024

See #46, the PR had conflicts so I merged as best as possible...

from mongo-migrate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.