slave_ok is enabled but seems no traffic goes to secondary server in a replica sets

9 views
Skip to first unread message

huangkuan

unread,
Feb 1, 2012, 12:43:59 PM2/1/12
to MongoEngine Users
Hi list,

I enabled the slave_ok in some of my queries but haven't been able to
see any "reads" traffic that goes my secondary server. Anyone knows
how the "read-write" traffic split works in mongo db?

Thanks
K

Ross Lawley

unread,
Feb 2, 2012, 4:51:52 AM2/2/12
to mongoeng...@googlegroups.com
Hi,

Currently we only use the default Connection class - I've added https://github.com/hmarr/mongoengine/issues/423 an should get ReplicaSetConnecitons in for 0.6  - which should land the end of the Feb.

Ross

huangkuan

unread,
Feb 2, 2012, 3:48:24 PM2/2/12
to MongoEngine Users
Thank you so much. Definitely need that feature!

On Feb 2, 4:51 am, Ross Lawley <ross.law...@gmail.com> wrote:
> Hi,
>
> Currently we only use the default Connection class - I've addedhttps://github.com/hmarr/mongoengine/issues/423an should get
Reply all
Reply to author
Forward
0 new messages