Skip to content

Commit 8d047c0

Browse files
authored
DOCSP-31171 Concurrent DDL Ops (#4747)
* DOCSP-31171 Concurrent DDL Ops * build error * release notes + ddl operations section * remove include * text formatting * alphabetize stages * JA feedback * SS feedback * link glossary * typo * nit feedback
1 parent dc6a371 commit 8d047c0

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

source/includes/currentOp-output-example.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@
371371
"Database" : <string>,
372372
"Collection" : <string>,
373373
"Metadata" : <string>,
374+
"DDLDatabase" : <string>,
375+
"DDLCollection" : <string>,
374376
"oplog" : <string>
375377
},
376378
"waitingForLock" : <boolean>,

source/includes/fact-lock-types.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,19 @@
4141
* - ``Metadata``
4242

4343
- Represents metadata lock.
44+
45+
* - ``DDLDatabase``
46+
47+
- Represents a :term:`DDL <DDL (Data Definition Language)>` database lock.
48+
49+
.. versionadded:: 7.1
50+
51+
* - ``DDLCollection``
52+
53+
- Represents a :term:`DDL <DDL (Data Definition Language)>` collection
54+
lock.
55+
56+
.. versionadded:: 7.1
4457

4558
* - ``oplog``
46-
- Represents lock on the :term:`oplog`.
59+
- Represents lock on the :term:`oplog`.

source/release-notes/7.1.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,19 @@ MongoDB 7.1 introduces the following aggregation stages:
4141
General Changes
4242
---------------
4343

44+
Concurrent DDL Operations
45+
~~~~~~~~~~~~~~~~~~~~~~~~~
46+
47+
Starting in MongoDB 7.1, when you run multiple :term:`DDL operations
48+
<DDL (Data Definition Language)>` that target different collections from the
49+
same database, MongoDB runs those operations concurrently.
50+
51+
This change adds two new types to the ``serverStatus`` :serverstatus:`locks`
52+
field and :data:`currentOp.locks` output:
53+
54+
- ``DDLDatabase``
55+
- ``DDLCollection``
56+
4457
Improved Index Builds
4558
~~~~~~~~~~~~~~~~~~~~~
4659

0 commit comments

Comments
 (0)