[SERVER-14436] Implement new types to represent replica set configuration. Created: 03/Jul/14  Updated: 11/Jul/16  Resolved: 16/Jul/14

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.7.4

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-14586 add toBSON methods to ReplicaSetConfi... Closed
Participants:

 Description   

These types should represent the configuration abstractly – more than just a bag of bits, but not decorated with information about the specific node that holds them. Work includes parsing and validating input BSON, and generating output BSON.



 Comments   
Comment by Githook User [ 16/Jul/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14436 Introduce ReplicaSetConfig type, with validation tests.
Branch: master
https://github.com/mongodb/mongo/commit/deeb8bc5d608cc42300ff4407f3c4dac69e73d17

Comment by Githook User [ 14/Jul/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14436 Introduce replica set tag, pattern and match types.

For use in replica set configurations, write concerns satisfaction and read preference.
Branch: master
https://github.com/mongodb/mongo/commit/ba71ad619c49f84ee8179227d16ecc79a65ab535

Comment by Githook User [ 09/Jul/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14436 Fix signed-unsigned comparison compile error in unit test.
Branch: master
https://github.com/mongodb/mongo/commit/0239597c2a2f1689a2969acd9b776dad3582ac7e

Comment by Githook User [ 08/Jul/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14436 Introduce MemberConfig and ReplicaSetTag types and parsing.

These types describe the configurations of individual members of replica sets.
Branch: master
https://github.com/mongodb/mongo/commit/e4b98296f8062d2f522a9cd129de795dd4616745

Comment by Githook User [ 08/Jul/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14436 Introduce Milliseconds and Seconds types in time_support.h
Branch: master
https://github.com/mongodb/mongo/commit/7914bdbe81fc601bd28de69ae9e9c1ee8c4f1ce1

Comment by Githook User [ 07/Jul/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14436 Introduce bsonCheckOnlyHasFields helpers.

These helpers paired with the bsonExtract helpers faciliate the manual parsing
of structures out of BSONObj.
Branch: master
https://github.com/mongodb/mongo/commit/ce0a498360ed1b178b300d1b817ca33a14dc6d9a

Comment by Githook User [ 07/Jul/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-14436 Remove dead ReplSetConfig::HealthOptions type.

It has no consumers. The one instance is never changed or consulted.
Branch: master
https://github.com/mongodb/mongo/commit/3545063aa9bf2c01cbd455cae6b20ec783e15d92

Generated at Thu Feb 08 03:34:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.