[CDRIVER-21] add replica set support Created: 09/Aug/10  Updated: 19/Oct/16  Resolved: 08/Apr/11

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.2

Type: New Feature Priority: Major - P3
Reporter: Bob T. Terminal Assignee: Kyle Banker
Resolution: Done Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Current driver is lacking support for replica sets

  • understand the server's reply to isMaster
  • take more than two seed servers


 Comments   
Comment by auto [ 14/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-21 docs
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/3e6739e8c1bb6bcb9dfd323611d80adf61c97a8d

Comment by auto [ 14/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-21 better replica set structs
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/429259c03921701c34ebcf445044c77e9af7f012

Comment by auto [ 14/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-21 use getaddrinfo for replica sets; test fixes
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/b08b5f18e7a4b5e8e2d1dcc99e3f08677c62af5d

Comment by auto [ 14/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-21 discover replica set host list and use that to connect
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/2045c312d50a2ed460f13cebf736927b4f62b693

Comment by auto [ 14/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-21 test replica set name; refactoring
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/bd308268afc25f3cf2063d9ea430f336c1a4abeb

Comment by auto [ 14/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: minor: CDRIVER-21 replica set refactoring
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/1499304ec039080a8bd4a972d623c8e91bd04c05

Comment by auto [ 06/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-21 docs
Branch: dev
https://github.com/mongodb/mongo-c-driver/commit/3e6739e8c1bb6bcb9dfd323611d80adf61c97a8d

Comment by auto [ 06/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-21 better replica set structs
Branch: dev
https://github.com/mongodb/mongo-c-driver/commit/429259c03921701c34ebcf445044c77e9af7f012

Comment by auto [ 05/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-21 use getaddrinfo for replica sets; test fixes
Branch: dev
https://github.com/mongodb/mongo-c-driver/commit/b08b5f18e7a4b5e8e2d1dcc99e3f08677c62af5d

Comment by auto [ 05/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-21 discover replica set host list and use that to connect
Branch: dev
https://github.com/mongodb/mongo-c-driver/commit/2045c312d50a2ed460f13cebf736927b4f62b693

Comment by auto [ 05/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-21 test replica set name; refactoring
Branch: dev
https://github.com/mongodb/mongo-c-driver/commit/bd308268afc25f3cf2063d9ea430f336c1a4abeb

Comment by auto [ 05/Apr/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: minor: CDRIVER-21 replica set refactoring
Branch: dev
https://github.com/mongodb/mongo-c-driver/commit/1499304ec039080a8bd4a972d623c8e91bd04c05

Comment by Kyle Banker [ 14/Mar/11 ]

Thanks for the comment. Will be adding support for this soon.

Comment by Doug Mayer [ 14/Mar/11 ]

This would be an excellent addition to the C driver, particularly for anyone using it with the nginx-gridfs module. Currently, anyone who uses nginx-gridfs and replica sets must change/reload their Nginx configs any time a new master is elected.

Generated at Wed Feb 07 21:08:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.