File tree 5 files changed +27
-9
lines changed
5 files changed +27
-9
lines changed Original file line number Diff line number Diff line change
1
+
2
+ When the |fsync | runs on :program: `mongos `, it performs the fysnc operation on the
3
+ primary config server as well as the primary members of each shard in the cluster.
Original file line number Diff line number Diff line change 4
4
5
5
.. default-domain:: mongodb
6
6
7
+ .. facet::
8
+ :name: genre
9
+ :values: reference
10
+
7
11
.. contents:: On this page
8
12
:local:
9
13
:backlinks: none
@@ -26,9 +30,8 @@ Definition
26
30
27
31
.. versionadded:: 7.1
28
32
29
- When the ``fsync`` command runs on :program:`mongos`, it performs the
30
- fsync operation on each shard in the cluster.
31
-
33
+ .. |fsync| replace:: ``fsync`` command
34
+ .. include:: /includes/fsync-mongos
32
35
33
36
As applications write data, MongoDB records the data in the storage layer
34
37
and then writes the data to disk within the
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ fsyncUnlock
4
4
5
5
.. default-domain:: mongodb
6
6
7
+ .. facet::
8
+ :name: genre
9
+ :values: reference
10
+
7
11
.. contents:: On this page
8
12
:local:
9
13
:backlinks: none
@@ -25,8 +29,8 @@ Definition
25
29
26
30
.. versionadded:: 7.1
27
31
28
- When the ``fsyncUnlock`` command runs on :program:`mongos`, it
29
- reduces the lock count for each shard in the cluster.
32
+ .. |fsync| replace:: ``fsyncUnlock`` command
33
+ .. include:: /includes/fsync-mongos
30
34
31
35
Use this command to unblock writes after you finish a backup operation.
32
36
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ db.fsyncLock()
4
4
5
5
.. default-domain:: mongodb
6
6
7
+ .. facet::
8
+ :name: genre
9
+ :values: reference
10
+
7
11
.. contents:: On this page
8
12
:local:
9
13
:backlinks: none
@@ -24,8 +28,8 @@ Definition
24
28
25
29
.. versionadded:: 7.1
26
30
27
- When the ``db.fsyncLock`` method runs on :program:`mongos`, it applies an
28
- fsync lock to each shard in the cluster.
31
+ .. |fsync| replace:: ``db.fsyncLock() `` method
32
+ .. include:: /includes/fsync-mongos
29
33
30
34
.. |dbcommand| replace:: :dbcommand:`fsync` command
31
35
.. include:: /includes/fact-mongosh-shell-method-alt.rst
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ db.fsyncUnlock()
4
4
5
5
.. default-domain:: mongodb
6
6
7
+ .. facet::
8
+ :name: genre
9
+ :values: reference
10
+
7
11
.. contents:: On this page
8
12
:local:
9
13
:backlinks: none
@@ -23,8 +27,8 @@ Definition
23
27
24
28
.. versionadded:: 7.1
25
29
26
- When the ``db.fsyncUnlock()`` method runs on :program:`mongos`, it
27
- reduces the lock count for each shard in the cluster.
30
+ .. |fsync| replace:: ``db.fsyncUnlock()`` method
31
+ .. include:: /includes/fsync-mongos
28
32
29
33
.. |dbcommand| replace:: :dbcommand:`fsyncUnlock` command
30
34
.. include:: /includes/fact-mongosh-shell-method-alt.rst
You can’t perform that action at this time.
0 commit comments