Git Product home page Git Product logo

Comments (2)

MARTIMM avatar MARTIMM commented on June 3, 2024

Sorry for the late response, I've been away.

I've not tested the driver explicitly on a windows platform but was going to using the AppVeyor test site.

The error you write about happens at the start of the find method where it tries to get server information from the client object. If you try to tune up the error level to Info before calling Client.new(), you would be able to see if the client has come in a proper state(topology), and found a server to work with. Anything but an unknown state would be ok.

use MongoDB;
modify-send-to( 'screen', :level(MongoDB::MdbLoglevels::Info));

Then somewhere, messages should appear like the following (in this example from a replica server setup)

2017-10-15 19:22:15.270609 [I]  9: Server status of 192.168.0.253:65140 is SS-RSPrimary
2017-10-15 19:22:15.272708 [I]  9: Client topology is TT-Single
2017-10-15 19:22:15.319175 [I] 10: Client topology is TT-Single
2017-10-15 19:22:15.325682 [I] 10: Client topology is TT-ReplicaSetWithPrimary

There are some state changes until it gets stable. It changes again when servers are changing.

Btw, there is a wiki page here but is not yet a big supporting help for every one. I've not yet much info about user experience to write about specific things.

The following doc setup (some of it is there) would eventually crystallize;

  • The readme with all sorts of links to:
  • Todo and bugs
  • Release changes
  • Mongodb site
  • Pdf files from pod docs in doc dir. Some pod files must be added or modified.
  • Pdf manual, also in doc dir. Not finished.

from raku-mongodb-driver.

ifrguy avatar ifrguy commented on June 3, 2024

from raku-mongodb-driver.

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.