Giter Site home page Giter Site logo

Comments (8)

parthnaik avatar parthnaik commented on June 16, 2024

Setting it to use 4.2.0 worked for me.

from run-rs.

fabien avatar fabien commented on June 16, 2024

Version 4.4.1 isn't working for me either.

from run-rs.

codedavinci avatar codedavinci commented on June 16, 2024

@fabien +1, we've tried everything to make it work with the version 4.4.1 but it seems that it doesn't want to download it

from run-rs.

codedavinci avatar codedavinci commented on June 16, 2024

Just checked the source code and it hard codes to get a version up to 4.2 with the current download link

from run-rs.

bhelfert avatar bhelfert commented on June 16, 2024

I have tried to run it with my locally installed version 4.4.1, using run-rs -m, but the initialization seems to get stuck:

> rs.status()
{
	"operationTime" : Timestamp(0, 0),
	"ok" : 0,
	"errmsg" : "no replset config has been received",
	"code" : 94,
	"codeName" : "NotYetInitialized",
	"$clusterTime" : {
		"clusterTime" : Timestamp(0, 0),
		"signature" : {
			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
			"keyId" : NumberLong(0)
		}
	}
}

It might be the case that the replSetInitiate command was not run or the rs.initiate() call has not happened.

If someone likes to dig deeper, see ReplSet.start().

It still works with 4.2.11.

from run-rs.

vkarpov15 avatar vkarpov15 commented on June 16, 2024

This looks like an issue with mongodb-topology-manager depending on a MongoDB log message that changed slightly in MongoDB 4.4. There was a fix for this issue but it hasn't been published to npm.

Seeing that mongodb-topology-manager hasn't seen a new release in years, I think we may need to fork it. In the short term, we can probably create a quick patch for this.

from run-rs.

vkarpov15 avatar vkarpov15 commented on June 16, 2024

Fix is in v0.7.2, see e50337f

from run-rs.

bhelfert avatar bhelfert commented on June 16, 2024

@vkarpov15 Wow, great! It works! Thank you very much for fixing it both in general and so fast :)!!

from run-rs.

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.