Skip to content

Commit 668327a

Browse files
author
Ed Costello
committed
DOCS-533 minor cleanup & verification of correct locks
1 parent b76c685 commit 668327a

16 files changed

+39
-3
lines changed

source/reference/command/applyOps.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ applyOps (internal)
3737
corresponding expected result in the ``res`` field that must match
3838
in order to apply the oplog entry.
3939

40+
.. include:: /includes/warning-blocking-global.rst
41+
4042
.. write-lock
4143

4244
.. see: DOCS-133; SERVER-4259

source/reference/command/collStats.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ collStats
4848
produce unpredictable and unexpected results in some situations.
4949

5050
.. seealso:: ":doc:`/reference/collection-statistics`."
51+
52+
.. READ lock

source/reference/command/convertToCapped.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ convertToCapped
2626
indexes on this collection you will need to create these indexes
2727
after the conversion is complete.
2828

29-
.. include:: /includes/warning-blocking-database.rst
29+
.. include:: /includes/warning-blocking-global.rst

source/reference/command/dataSize.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ dataSize
2222

2323
The amount of time required to return :dbcommand:`dataSize` depends on the
2424
amount of data in the collection.
25+
26+
.. read-lock

source/reference/command/dbStats.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ dbStats
2727
a wrapper around this functionality. See the
2828
":doc:`/reference/database-statistics`" document for an overview of
2929
this output.
30+
31+
.. read-lock

source/reference/command/emptyCapped.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ emptycapped
1515

1616
This command removes all records from the capped collection named
1717
``events``.
18+
19+
.. include:: /includes/warning-blocking-database.rst

source/reference/command/filemd5.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ filemd5
1616

1717
{ filemd5: ObjectId("4f1f10e37671b50e4ecd2776"), root: "fs" }
1818

19+
.. read-lock

source/reference/command/findAndModify.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,5 @@ findAndModify
8787
cluster. :dbcommand:`findAndModify` operations issued against
8888
:program:`mongos` instances for non-sharded collections function
8989
normally.
90+
91+
.. include:: /includes/warning-blocking-database.rst

source/reference/command/reIndex.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ reIndex
2626
.. code-block:: javascript
2727

2828
db.collection.reIndex();
29+
30+
.. include:: /includes/warning-blocking-database.rst

source/reference/command/renameCollection.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ renameCollection
4242

4343
.. warning:: You cannot use :dbcommand:`renameCollection` with
4444
sharded collections.
45+
46+
.. include:: /includes/warning-blocking-global.rst

0 commit comments

Comments
 (0)