Skip to content

DOCS-4246: recover invalid replset config #2100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions source/release-notes/2.8-compatibility.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,22 @@ particular note are the following alterations:

- Disallows ``getLastErrorDefaults: 0`` in a config.

.. _recover-from-invalid-config:

Recover a Replica Set from an Invalid Configuration
```````````````````````````````````````````````````

In MongoDB version 2.8, :program:`mongod` will fail to start if it has
an invalid replica set configuration stored in the
:data:`local.system.replset` collection. Due to MongoDB 2.8's strict
validation of replica set configuration objects, a configuration that
was valid in MongoDB 2.6 may not be valid in MongoDB 2.8.

If your replica set configuration was valid in a previous version of
MongoDB and fails to start in MongoDB 2.8, :doc:`downgrade to MongoDB
2.6 </release-notes/2.8-downgrade>`, and reconfigure your replica set to
fulfill the new requirements. Then, you can re-upgrade to MongoDB 2.8.

Remove ``local.slaves`` Collection
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down