diff --git a/.gitignore b/.gitignore index 47386fe91ad..f3c1fcc5fc9 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,4 @@ build source/reference/*/*.rst source/reference/*.rst source/images/*.png -source/images/*rst +source/images/*.rst diff --git a/bin/makefile.images b/bin/makefile.images index 33d79b94b47..735d5fb3f6b 100644 --- a/bin/makefile.images +++ b/bin/makefile.images @@ -9,3 +9,4 @@ $(image-path)/%.png:$(image-path)/%.svg .PHONY:images images: $(image-output) + diff --git a/source/images/metadata.yaml b/source/images/metadata.yaml index b6a210e1a66..bc72e78b7ef 100644 --- a/source/images/metadata.yaml +++ b/source/images/metadata.yaml @@ -1,5 +1,41 @@ name: replica-set-primary-with-two-secondaries alt: "Diagram of default 3-member replica set architecture." +output: + - type: print + tag: '-print' + dpi: 300 + width: 2100 + - type: web + tag: '' + dpi: 72 + width: 350 +--- +name: replica-set-primary-with-secondary-and-arbiter +alt: "Diagram of 3-member replica set architecture with an arbiter." +output: + - type: print + tag: '-print' + dpi: 300 + width: 2100 + - type: web + tag: '' + dpi: 72 + width: 350 +--- +name: replica-set-read-write-operations-primary +alt: "Diagram of default routing of read and write operations to the primary." +output: + - type: print + tag: '-print' + dpi: 300 + width: 2100 + - type: web + tag: '' + dpi: 72 + width: 350 +--- +name: replica-set-trigger-election +alt: "Diagram of election of new primary." output: - type: print tag: '-print' diff --git a/source/images/replica-set-primary-with-secondary-and-arbiter.svg b/source/images/replica-set-primary-with-secondary-and-arbiter.svg new file mode 100644 index 00000000000..138386046cd --- /dev/null +++ b/source/images/replica-set-primary-with-secondary-and-arbiter.svg @@ -0,0 +1,53 @@ + + + + + + + + Secondary + + + + Heartbeat + + + Replication + + + + + + + + + + + + + + + + + + + + + + + + Primary + + + + + + Arbiter + + + (vote only) + + + + + diff --git a/source/images/replica-set-read-write-operations-primary.svg b/source/images/replica-set-read-write-operations-primary.svg new file mode 100644 index 00000000000..d02256927d9 --- /dev/null +++ b/source/images/replica-set-read-write-operations-primary.svg @@ -0,0 +1,63 @@ + + + + + + + Se + c + ondary + + + + Se + c + ondary + + + + P + rimary + + + + Client + + Application + + + + Driver + + + W + rites + + + Reads + + + Replication + + + + + + + + + + + Replication + + + + + + + + + + + + diff --git a/source/images/replica-set-trigger-election.svg b/source/images/replica-set-trigger-election.svg new file mode 100644 index 00000000000..d4181a18784 --- /dev/null +++ b/source/images/replica-set-trigger-election.svg @@ -0,0 +1,74 @@ + + + + + + + + Secondary + + + + Heartbeat + + + + + + + + + + + Primary + + + + + + + + + Secondary + + + + + Elect New Primary + + + + Heartbeat + + + + + + + + + + + Secondary + + + + + + + Primary + + + + + + + + R + epli + c + ation + + + +