Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Mongodb Connection Failure Replica Set

rahul157 Posts: 30

Hi Guys,

I'm trying to connect mongo db with replica set with mongo db query tool but getting "Query couldn't resolve." While same working for normal mongo db without replica set.


  • jakubiak
    jakubiak Posts: 795 admin

    Is the query that you are using the same when you are comparing mongo DB with and without a replica set? Are you sure that the query that you are using in the replica set case is correct?

  • jakubiak
    jakubiak Posts: 795 admin

    After a little more research, I have a different question: are you performing the query against the master in a replica set, or against a secondary? The Mongo DB Query Tool will support queries against master but not against secondary. Querying against secondary requires additional steps, and the Mongo DB Query Tool currently does not perform them - see