Skip to content

migrate 1.2 release notes #592

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

Merged
merged 1 commit into from
Jan 29, 2013
Merged
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions source/release-notes/1.2-changes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
:orphan:

======================
Changes in MongoDB 1.2
======================

.. toctree::

1.2
70 changes: 70 additions & 0 deletions source/release-notes/1.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
===============================
Release Notes for MongoDB 1.2.x
===============================

.. default-domain:: mongodb

.. contents:: See the :doc:`full index of this page <1.2-changes>` for
a complete list of changes included in 1.2.
:backlinks: none
:local:
:depth: 1

New Features
------------

- More indexes per collection

- Faster index creation

- Map/Reduce

- Stored JavaScript functions

- Configurable fsync time

- Several small features and fixes

DB Upgrade Required
-------------------

There are some changes that will require doing an upgrade if your
previous version is <= 1.0.x. If you're already using a version >= 1.1.x
then these changes aren't required. There are 2 ways to do it:

- ``--upgrade``

- stop your :program:`mongod` process

- run ``./mongod --upgrade``

- start :program:`mongod` again

- use a slave

- start a slave on a different port and data directory

- when its synced, shut down the master, and start the new slave on
the regular port.

Ask in the forums or IRC for more help.

Replication Changes
-------------------

- There have been minor changes in replication. If you are upgrading a
master/slave setup from <= 1.1.2 you have to update the slave first.

mongoimport
-----------

- ``mongoimportjson`` has been removed and is replaced with
:doc:`mongoimport </reference/mongoimport>` that can do json/csv/tsv

field filter changing
---------------------

- We've changed the semantics of the field filter a little bit.
Previously only objects with those fields would be returned. Now the
field filter only changes the output, not which objects are returned.
If you need that behavior, you can use :doc:`$exists </reference/operator/exists>`