Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion SlaveOk queries doesn't seems to go through mongoS
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kristina Chodorow  
View profile  
 More options Mar 20 2012, 11:23 am
From: Kristina Chodorow <krist...@10gen.com>
Date: Tue, 20 Mar 2012 08:23:31 -0700 (PDT)
Local: Tues, Mar 20 2012 11:23 am
Subject: Re: SlaveOk queries doesn't seems to go through mongoS

Hmm, can you run mongostat --discover for a few minutes while you do some
queries and then send its output + mongos log from that time?

On Tuesday, March 20, 2012 9:54:18 AM UTC-4, Simon T. wrote:

> If I fire 30k requests to the mongos. When watching the mongostat of each
> server, I see that its always the master of each shard that is anwsering
> and none of the secondaries.

> Since all the drivers can see is the mongos to whom it is connected, and
> its SlaveOk setting is set to "true". I assume that it's the mongos that
> did not forward the queries to the replica set with the mention "SlaveOk =
> true".

> On Monday, March 19, 2012 5:34:04 PM UTC-4, Kristina Chodorow wrote:

>> What makes you think that mongos isn't dispatching these queries to the
>> secondaries?

>> On Monday, March 19, 2012 4:42:53 PM UTC-4, Simon T. wrote:

>>> I forgot to mention that I'm using C# drivers 1.3.1 (latest as of now, I
>>> believe) and our servers are 2.0.3.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.