Skip to content

Commit d0508ba

Browse files
(DOCSP-34693): Add lifecycle diagrams for writes (#5519)
* (DOCSP-34693): Add lifecycle diagrams for writes * add width option * change width * change figure to image * add diagram for secondary * fix file path * wording * typo * wording * remove cursor from secondary diagram * move note location on secondary diagram * standardize font * tweak primary diagram for consistency * minimalism * change diagrams for 7.0 behavior * fix build error * size * update primary diagram * update diagram
1 parent 4ad3667 commit d0508ba

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed
Loading
Loading

source/reference/write-concern.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,3 +512,9 @@ Write Concern Contrasted with Commit Quorum
512512
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
513513

514514
.. include:: /includes/indexes/commit-quorum-vs-write-concern.rst
515+
516+
.. toctree::
517+
:titlesonly:
518+
:hidden:
519+
520+
/reference/write-concern/write-lifecycle
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.. _write-lifecycle-diagrams:
2+
3+
========================
4+
Write Lifecycle Diagrams
5+
========================
6+
7+
.. contents:: On this page
8+
:local:
9+
:backlinks: none
10+
:depth: 1
11+
:class: singlecol
12+
13+
These diagrams show the lifecycle of a :dbcommand:`findAndModify`
14+
operation on primary and secondary replica set members. The lifecycles
15+
of other write commands are similar, but the number of resulting oplog
16+
entries may vary.
17+
18+
Write Lifecycle on a Primary Member
19+
-----------------------------------
20+
21+
.. image:: /images/write-lifecycle/write-lifecycle-primary-7-0.png
22+
:alt: Lifecycle of a findAndModify command on a primary member
23+
:width: 300px
24+
25+
Write Lifecycle on a Secondary Member
26+
-------------------------------------
27+
28+
.. image:: /images/write-lifecycle/write-lifecycle-secondary-7-0.png
29+
:alt: Lifecycle of a findAndModify command on a secondary member
30+
:width: 300px

0 commit comments

Comments
 (0)