[DOCS-4192] Document replica set behavior changes in version 2.7 Created: 15/Oct/14  Updated: 05/Jun/15  Resolved: 09/Jan/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.16, mongodb-3.0

Type: Task Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on DOCS-4257 Server 2.8 rc0 Release notes. Closed
Related
related to SERVER-15060 Raise maximum number of nodes in a re... Closed
is related to DOCS-4246 Create page to explain recovery from ... Closed
Participants:
Days since reply: 8 years, 36 weeks, 5 days ago

 Description   

This issue is to collect behavior changes worth noting in the release notes or which need special attention.

Release Notes:

  • Can no longer load a config with an _id name different from what was specified by the "replSet" command line (or config file) option.
  • Replica Set Config Restriction
    • Can no longer have nodes with votes > 1
      • This was deprecated and printed a warning in mongod version 2.6
    • Arbiters can no longer have 0 votes
    • Unrecognized fields in a config now produce an invalid config and an error, rather than the fields being ignored.
    • Can no longer have "getLastErrorDefaults: .. w:0" in a config
  • Definition of w:'majority' write concern changed to mean majority of voting nodes.
  • Removed the local.slaves collection. Information is in the 'repl' section of serverStatus – you must explicitly request via arg.
    • Note: The local.slaves collection was a mirror of the internal map of all the slaves' replication progress
  • You cannot add a 2.6 (pre 2.6.6) member to a 2.8 replica set because initial sync may fail – specifically listDatabases may fail when the cloner runs on the 2.6 member talking to a 2.8 member since slaveOk is not set.
  • We can no longer parse oplog entries without v:2 – such entries were created by MongoDB 2.2 and prior. A 2.8 secondary will abort if it encounters such oplog entries.
  • Secondaries may abort if they replay an oplog from 2.4 or prior with an index build op that would normally fail on a 2.6 or later primary.
  • Built-in webserver no longer has replication information.
  • Adding a voting member to a two node set in which only one member votes will need force: true.
    • We need to receive positive responses from a majority of voting members in a new config to accept that config.

Special Attention:

  • Initial sync
    • Builds indexes more efficiently for each collection
    • Now applies oplog entries in batches using threads, like normal application
  • Invalid Replica Set Config (votes>1, arbiter-no-vote)
    • Will not load – fix on primary, then restart node
    • Will be rejected leaving nodes with old config, until fixed on primary


 Comments   
Comment by Githook User [ 05/Jun/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-4192 replSet _id and replSetName
Branch: master
https://github.com/mongodb/docs/commit/559272f796b99af5e3ead5baeb001c6881764ca9

Comment by Githook User [ 09/Jan/15 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4192 add note about reconfiguring two member sets with one vote.
Branch: master
https://github.com/mongodb/docs/commit/e2a02e54d3a56ac8f09d94cc9ed4c2623219d3e6

Comment by Githook User [ 08/Jan/15 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4192: http interface removes replication data
Branch: master
https://github.com/mongodb/docs/commit/1ae68b31346d0c3382aa2ddc9f65198f85ed6b6b

Comment by Githook User [ 08/Jan/15 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4192: clarify wording
Branch: master
https://github.com/mongodb/docs/commit/c6658776622638440c59833a3b25423fc1134ff0

Comment by Githook User [ 08/Jan/15 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4192: mixed-set limitations
Branch: master
https://github.com/mongodb/docs/commit/251ec35b98cf927f2d32c500e956611d0e04973f

Comment by Githook User [ 08/Jan/15 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4192: clarify _id and --replSet option matching requirement
Branch: master
https://github.com/mongodb/docs/commit/b6c603ecf43339c08df7f7f7641d6f898d127ed9

Comment by Githook User [ 08/Jan/15 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4192: voting majority change
Branch: master
https://github.com/mongodb/docs/commit/d3521911d7f3716700124b1a0277452363aeefc4

Comment by Githook User [ 08/Jan/15 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4192: fix deprecation of local.slaves collection
Branch: master
https://github.com/mongodb/docs/commit/f9cde87f01dfd423e1879bdc0aed09e8b253d22f

Comment by Githook User [ 10/Dec/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4192: clean up release texts
Branch: master
https://github.com/mongodb/docs/commit/a2c5496b13a76fa0ee86edcfa4d40074715368f3

Comment by Githook User [ 10/Dec/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4192: clean up release texts

Conflicts:
config/releases.yaml
source/includes/steps-install-mongodb-enterprise-on-amazon.yaml
source/includes/steps-install-mongodb-enterprise-on-suse.yaml
source/includes/steps-install-mongodb-on-linux-32.yaml
source/includes/steps-install-mongodb-on-linux-64.yaml
source/includes/steps-install-mongodb-on-osx-manually.yaml
Branch: v2.4
https://github.com/mongodb/docs/commit/f8f5b33ce59ebec1aae621494e8ab1bead425b25

Comment by Githook User [ 10/Dec/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4192: clean up release texts
Branch: v2.2
https://github.com/mongodb/docs/commit/cfddbd234c174d8938bc48a23df7114ce906393a

Comment by Scott Hernandez (Inactive) [ 08/Dec/14 ]

Sam, how close are we to converting this to copy? Or have we already?

Also, when will this be avail. on the docs site, and other 2.8 stuff? If there is a schedule for that, or related DOCS issue - please link if so.

Generated at Thu Feb 08 07:47:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.