[SERVER-1634] mongos should route replica set reads to slaves with SLAVE_OK Created: 16/Aug/10  Updated: 12/Jul/16  Resolved: 20/Dec/10

Status: Closed
Project: Core Server
Component/s: Replication, Sharding
Affects Version/s: None
Fix Version/s: 1.7.4

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 28
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:

 Comments   
Comment by auto [ 20/Dec/10 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: finish test for mongos routing slave ok reads to secondaries SERVER-1634
https://github.com/mongodb/mongo/commit/d3e7af93ea7924d81e81838a50621ced0f635ceb

Comment by auto [ 20/Dec/10 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: test prep for SERVER-1634
https://github.com/mongodb/mongo/commit/d9307addab35b2262f283183177fd260a1ad2ac3

Comment by auto [ 20/Dec/10 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: routing or slave_ok reads to slaves for non-sharded collections SERVER-1634
https://github.com/mongodb/mongo/commit/2f7ab64d70c2be4561b976252c43d6b719541ec7

Comment by Nathan D Acuff [ 06/Dec/10 ]

This is great for us. Setting the slave_ok flag on the connection is good, but setting it up in the cluster or in a mongos configuration somewhere would be even better.

Comment by Eliot Horowitz (Inactive) [ 19/Nov/10 ]

As designed just replica sets, though we may add an option for regular slaves as well.

Comment by Damon Cortesi [ 19/Nov/10 ]

Will this apply with a sharded master/slave setup as well? Or just replica sets?

Comment by Eliot Horowitz (Inactive) [ 29/Oct/10 ]

About 2 weeks out.
The blockers for this were removed.

Comment by MediaMath Mongo [ 29/Oct/10 ]

would love to know the ETA of this feature – it is a blocker for us to implement sharding. – vince

Generated at Thu Feb 08 02:57:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.