Skip to content

Build fixes #2070

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 2 commits into from
Closed
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
1 change: 0 additions & 1 deletion config/sphinx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ web-base:
inherit: root-base
excluded:
- /meta/reference.txt
- /meta/use-cases.txt
- /meta/administration.txt
- /meta/manual.txt
tags:
Expand Down
2 changes: 2 additions & 0 deletions source/administration/security-user-role-management.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _user-management-guide:

==================================
User and Role Management Tutorials
==================================
Expand Down
2 changes: 1 addition & 1 deletion source/applications/design-notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ No Fully Generalized Transactions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

MongoDB does not have :doc:`fully generalized transactions
</tutorial/isolate-sequence-of-operations/>`. If you model your data
</core/write-operations-atomicity>`. If you model your data
using rich documents that closely resemble your application's
objects, each logical object will be in one MongoDB document. MongoDB
allows you to modify a document in a single atomic operation. These
Expand Down
1 change: 1 addition & 0 deletions source/core/authentication.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ appropriate privileges on the databases required by the user.
See :doc:`/tutorial/authenticate-as-client` for more information.

.. _inter-process-auth:
.. _replica-set-security:

Authentication Between MongoDB Instances
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion source/faq/developers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ MongoDB *does* have support for atomic operations *within* a single
document. Given the possibilities provided by nested documents, this
feature provides support for a large number of use-cases.

.. seealso:: The :doc:`/tutorial/isolate-sequence-of-operations` page.
.. seealso:: The :doc:`/core/write-operations-atomicity` page.

How do you aggregate data with MongoDB?
---------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion source/includes/fact-findAndModify-update-comparison.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ When updating a document, |operation| and the

When modifying a *single* document, both |operation| and the
:method:`~db.collection.update()` method *atomically* update the
document. See :doc:`/tutorial/isolate-sequence-of-operations` for more
document. See :doc:`/core/write-operations-atomicity` for more
details about interactions and order of operations of these methods.
14 changes: 14 additions & 0 deletions source/includes/options-conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1035,4 +1035,18 @@ inherit:
name: chunkSize
program: mongos
file: options-mongos.yaml
---
program: conf
name: storage.preallocDataFiles
type: boolean
default: true
directive: setting
replacement:
program: ":program:`mongod`"
description: |
Enables or disables data file preallocation.
post: |
Do **not** disable data file preallocation in production systems. Only
use this option for testing and with small data sets where you
frequently drop databases.
...
5 changes: 1 addition & 4 deletions source/includes/steps-backup-sharded-clusters-dumps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@ post: |
For more information, see the
:ref:`sharding-balancing-disable-temporarily` procedure.

.. warning::
.. warning:: If you do not stop the balancer, the backup could have duplicate data or omit data as :term:`chunks <chunk>` migrate while recording backups.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line lenght

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See note above. It doesn't build if there are line breaks.


If you do not stop the balancer, the backup could have duplicate
data or omit data as :term:`chunks <chunk>` migrate while recording
backups.
---
title: Lock replica set members.
stepnum: 2
Expand Down
2 changes: 1 addition & 1 deletion source/reference/command/connectionStatus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Output
.. data:: connectionStatus.authinfo.authenticatedUserRoles[n].role

The definition of the current roles associated with the current
authenticated users. See :doc:`/reference/build-in-roles` and
authenticated users. See :doc:`/reference/built-in-roles` and
:doc:`/reference/privilege-actions` for more information.

.. data:: connectionStatus.authinfo.authenticatedUserRoles[n].db
Expand Down
8 changes: 4 additions & 4 deletions source/reference/database-references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ typically in different collections or databases.

MongoDB applications use one of two methods for relating documents:

#. :ref:`Manual references <document-references>` where you save the
- :ref:`Manual references <document-references>` where you save the
``_id`` field of one document in another document as a reference.
Then your application can run a second query to return the related
data. These references are simple and sufficient for most use
cases.

#. :ref:`DBRefs <dbref>` are references from one document to another
- :ref:`DBRefs <dbref-explanation>` are references from one document to another
using the value of the first document's ``_id`` field, collection name,
and, optionally, its database name. By including these names, DBRefs
allow documents located in multiple collections to be more easily linked
Expand Down Expand Up @@ -99,9 +99,9 @@ references as needed.
The only limitation of manual linking is that these references do not
convey the database and collection names. If you have documents in a
single collection that relate to documents in more than one
collection, you may need to consider using :ref:`DBRefs <dbref>`.
collection, you may need to consider using DBRefs.

.. _dbref:
.. _dbref-explanation:

DBRefs
------
Expand Down
2 changes: 1 addition & 1 deletion source/reference/glossary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ Glossary
:doc:`/tutorial/create-tailable-cursor`.

topology
The state of a :term:`deployment` of MongoDB instances, including
The state of a deployment of MongoDB instances, including
the type of deployment (i.e. standalone, replica set, or sharded
cluster) as well as the availability of servers, and the role of
each server (i.e. :term:`primary`, :term:`secondary`,
Expand Down
3 changes: 0 additions & 3 deletions source/reference/program/mongorestore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ Options

.. include:: /includes/option/option-mongorestore-restoreDbUsersAndRoles.rst

.. this does not exist:
.. .. include:: /includes/option/option-mongorestore-restoreDbUserasAndRoles.rst

.. include:: /includes/option/option-mongorestore-w.rst

.. _mongorestore-path-option:
Expand Down
2 changes: 1 addition & 1 deletion source/release-notes/2.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ MongoDB 2.8 adds a new ``SCRAM-SHA-1`` authentication mechanism.
Changes to the Localhost Exception
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When using :ref:`localhost exception` to access MongoDB, you have limited
When using :ref:`localhost-exception` to access MongoDB, you have limited
access and can only create a user in the ``admin`` database.

Query Engine Improvements
Expand Down
1 change: 0 additions & 1 deletion source/tutorial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ Development Patterns
--------------------

- :doc:`/tutorial/perform-two-phase-commits`
- :doc:`/tutorial/isolate-sequence-of-operations`
- :doc:`/tutorial/create-an-auto-incrementing-field`
- :doc:`/tutorial/enforce-unique-keys-for-sharded-collections`
- :doc:`/applications/aggregation`
Expand Down
2 changes: 2 additions & 0 deletions source/tutorial/define-roles.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _define-roles:

=============
Create a Role
=============
Expand Down
4 changes: 2 additions & 2 deletions source/tutorial/manage-mongodb-processes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ than* ``/data/db`` you can specify a :setting:`~storage.dbPath`. The
:setting:`~storage.dbPath` must exist before you start :program:`mongod`. If it
does not exist, create the directory and the permissions so that
:program:`mongod` can read and write data to this path. For more
information on permissions, see the :ref:`security operations
documentation <security-operations>`.
information on permissions, see the :doc:`security operations
documentation </administration/security-checklist>`.

To specify a :setting:`~storage.dbPath` for :program:`mongod` to use as a data
directory, use the :option:`--dbpath <mongod --dbpath>` option. The
Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/update-if-current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Update Document if Current
Overview
--------

The :ref:`Update if Current <tutorial-atomic-update-if-current>`
The *Update if Current*
pattern is an approach to :ref:`concurrency control
<concurrency-control>` when multiple applications have access to the
data.
Expand Down