Skip to content

Commit 0351fb2

Browse files
committed
DOCS-4449: build fixes
- fixes the HTML build errors - adds preallocDataFiles setting to ref (to fix error)
1 parent 74d1132 commit 0351fb2

17 files changed

+34
-20
lines changed

config/sphinx.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ web-base:
2525
inherit: root-base
2626
excluded:
2727
- /meta/reference.txt
28-
- /meta/use-cases.txt
2928
- /meta/administration.txt
3029
- /meta/manual.txt
3130
tags:

source/administration/security-checklist.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _security-operations:
2+
13
==================
24
Security Checklist
35
==================

source/administration/security-user-role-management.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _user-management-guide:
2+
13
==================================
24
User and Role Management Tutorials
35
==================================

source/applications/design-notes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ No Fully Generalized Transactions
9797
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9898

9999
MongoDB does not have :doc:`fully generalized transactions
100-
</tutorial/isolate-sequence-of-operations/>`. If you model your data
100+
</core/write-operations-atomicity>`. If you model your data
101101
using rich documents that closely resemble your application's
102102
objects, each logical object will be in one MongoDB document. MongoDB
103103
allows you to modify a document in a single atomic operation. These

source/faq/developers.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ MongoDB *does* have support for atomic operations *within* a single
103103
document. Given the possibilities provided by nested documents, this
104104
feature provides support for a large number of use-cases.
105105

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

108108
How do you aggregate data with MongoDB?
109109
---------------------------------------

source/includes/fact-findAndModify-update-comparison.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ When updating a document, |operation| and the
3131

3232
When modifying a *single* document, both |operation| and the
3333
:method:`~db.collection.update()` method *atomically* update the
34-
document. See :doc:`/tutorial/isolate-sequence-of-operations` for more
34+
document. See :doc:`/core/write-operations-atomicity` for more
3535
details about interactions and order of operations of these methods.

source/includes/options-conf.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,4 +1035,18 @@ inherit:
10351035
name: chunkSize
10361036
program: mongos
10371037
file: options-mongos.yaml
1038+
---
1039+
program: conf
1040+
name: storage.preallocDataFiles
1041+
type: boolean
1042+
default: true
1043+
directive: setting
1044+
replacement:
1045+
program: ":program:`mongod`"
1046+
description: |
1047+
Enables or disables data file preallocation.
1048+
post: |
1049+
Do **not** disable data file preallocation in production systems. Only
1050+
use this option for testing and with small data sets where you
1051+
frequently drop databases.
10381052
...

source/includes/steps-backup-sharded-clusters-dumps.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ post: |
1515
For more information, see the
1616
:ref:`sharding-balancing-disable-temporarily` procedure.
1717
18-
.. warning::
18+
.. 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.
1919
20-
If you do not stop the balancer, the backup could have duplicate
21-
data or omit data as :term:`chunks <chunk>` migrate while recording
22-
backups.
2320
---
2421
title: Lock replica set members.
2522
stepnum: 2

source/reference/command/connectionStatus.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Output
4141
.. data:: connectionStatus.authinfo.authenticatedUserRoles[n].role
4242

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

4747
.. data:: connectionStatus.authinfo.authenticatedUserRoles[n].db

source/reference/database-references.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ typically in different collections or databases.
1717

1818
MongoDB applications use one of two methods for relating documents:
1919

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

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

104-
.. _dbref:
104+
.. _dbref-explanation:
105105

106106
DBRefs
107107
------

0 commit comments

Comments
 (0)