|
| 1 | +=============================== |
| 2 | +Release Notes for MongoDB 1.2.x |
| 3 | +=============================== |
| 4 | + |
| 5 | +.. default-domain:: mongodb |
| 6 | + |
| 7 | +.. contents:: See the :doc:`full index of this page <1.2-changes>` for |
| 8 | + a complete list of changes included in 1.2. |
| 9 | + :backlinks: none |
| 10 | + :local: |
| 11 | + :depth: 1 |
| 12 | + |
| 13 | +New Features |
| 14 | +------------ |
| 15 | + |
| 16 | +- More indexes per collection |
| 17 | + |
| 18 | +- Faster index creation |
| 19 | + |
| 20 | +- Map/Reduce |
| 21 | + |
| 22 | +- Stored JavaScript functions |
| 23 | + |
| 24 | +- Configurable fsync time |
| 25 | + |
| 26 | +- Several small features and fixes |
| 27 | + |
| 28 | +DB Upgrade Required |
| 29 | +------------------- |
| 30 | + |
| 31 | +There are some changes that will require doing an upgrade if your |
| 32 | +previous version is <= 1.0.x. If you're already using a version >= 1.1.x |
| 33 | +then these changes aren't required. There are 2 ways to do it: |
| 34 | + |
| 35 | +- ``--upgrade`` |
| 36 | + |
| 37 | + - stop your :program:`mongod` process |
| 38 | + |
| 39 | + - run ``./mongod --upgrade`` |
| 40 | + |
| 41 | + - start :program:`mongod` again |
| 42 | + |
| 43 | +- use a slave |
| 44 | + |
| 45 | + - start a slave on a different port and data directory |
| 46 | + |
| 47 | + - when its synced, shut down the master, and start the new slave on |
| 48 | + the regular port. |
| 49 | + |
| 50 | +Ask in the forums or IRC for more help. |
| 51 | + |
| 52 | +Replication Changes |
| 53 | +------------------- |
| 54 | + |
| 55 | +- There have been minor changes in replication. If you are upgrading a |
| 56 | + master/slave setup from <= 1.1.2 you have to update the slave first. |
| 57 | + |
| 58 | +mongoimport |
| 59 | +----------- |
| 60 | + |
| 61 | +- ``mongoimportjson`` has been removed and is replaced with |
| 62 | + :doc:`mongoimport </reference/mongoimport>` that can do json/csv/tsv |
| 63 | + |
| 64 | +field filter changing |
| 65 | +--------------------- |
| 66 | + |
| 67 | +- We've changed the semantics of the field filter a little bit. |
| 68 | + Previously only objects with those fields would be returned. Now the |
| 69 | + field filter only changes the output, not which objects are returned. |
| 70 | + If you need that behavior, you can use :doc:`$exists </reference/operator/exists>` |
0 commit comments