diff --git a/source/core/causal-consistency-read-write-concerns.txt b/source/core/causal-consistency-read-write-concerns.txt index 3f70d9a790e..e7ce2c2d2b3 100644 --- a/source/core/causal-consistency-read-write-concerns.txt +++ b/source/core/causal-consistency-read-write-concerns.txt @@ -155,11 +155,13 @@ the following causal consistency guarantees: * - | 1. Write\ :sub:`1` with write concern :writeconcern:`"majority"` to ``P``\ :sub:`new` | 2. Read\ :sub:`1` with read concern :readconcern:`"majority"` to ``S``\ :sub:`2` | 3. Write\ :sub:`2` with write concern :writeconcern:`"majority"` to ``P``\ :sub:`new` + | | 4. Read\ :sub:`2` with read concern :readconcern:`"majority"` to ``S``\ :sub:`3` - | For item ``A``, update ``qty`` to ``50``. | Read item ``A``. - | For items with ``qty`` less than ``50``, update ``reorder`` to ``true``. + | For items with ``qty`` less than or equal to ``50``, + | update ``restock`` to ``true``. | Read item ``A``. .. figure:: /images/causal-rc-majority-wc-majority.svg @@ -210,11 +212,13 @@ the following causal consistency guarantees: * - | 1. Write\ :sub:`1` with write concern :writeconcern:`"majority"` to ``P``\ :sub:`new` | 2. Read\ :sub:`1` with read concern :readconcern:`"majority"` to ``S``\ :sub:`1` | 3. Write\ :sub:`2` with write concern :writeconcern:`"majority"` to ``P``\ :sub:`new` + | | 4. Read\ :sub:`2` with with read concern :readconcern:`"majority"` to ``S``\ :sub:`3` - | For item ``A``, update ``qty`` to ``50``. | Read item ``A``. - | For items with ``qty`` less than ``50``, update ``reorder`` to ``true``. + | For items with ``qty`` less than or equal to ``50``, + | update ``restock`` to ``true``. | Read item ``A``. In this sequence, Read\ :sub:`1` cannot return until the @@ -292,11 +296,13 @@ provides the following causal consistency guarantees *if causal consistency impl * - | 1. Write\ :sub:`1` with write concern :writeconcern:`{ w: 1 } <\>` to ``P``\ :sub:`old` | 2. Read\ :sub:`1` with read concern :readconcern:`"majority"` to ``S``\ :sub:`2` | 3. Write\ :sub:`2` with write concern :writeconcern:`{ w: 1 } <\>` to ``P``\ :sub:`new` + | | 4. Read\ :sub:`2` with with read concern :readconcern:`"majority"` to ``S``\ :sub:`3` - | For item ``A``, update ``qty`` to ``50``. | Read item ``A``. - | For items with ``qty`` less than ``50``, update ``reorder`` to ``true``. + | For items with ``qty`` less than or equal to ``50``, + | update ``restock`` to ``true``. | Read item ``A``. .. figure:: /images/causal-rc-majority-wc-1.svg @@ -385,14 +391,16 @@ provides the following causal consistency guarantees *if causal consistency impl - Example - * - | Write\ :sub:`1` with write concern :writeconcern:`{ w: 1 } <\>` to ``P``\ :sub:`old` - | Read\ :sub:`1` with read concern :readconcern:`"majority"` to ``S``\ :sub:`1` - | Write\ :sub:`2` with write concern :writeconcern:`{ w: 1 } <\>` to ``P``\ :sub:`new` - | Read\ :sub:`2` with with read concern :readconcern:`"majority"` to ``S``\ :sub:`3` + * - | 1. Write\ :sub:`1` with write concern :writeconcern:`{ w: 1 } <\>` to ``P``\ :sub:`old` + | 2. Read\ :sub:`1` with read concern :readconcern:`"majority"` to ``S``\ :sub:`1` + | 3. Write\ :sub:`2` with write concern :writeconcern:`{ w: 1 } <\>` to ``P``\ :sub:`new` + | + | 4. Read\ :sub:`2` with with read concern :readconcern:`"majority"` to ``S``\ :sub:`3` - | For item ``A``, update ``qty`` to ``50``. | Read item ``A``. - | For items with ``qty`` less than ``50``, update ``reorder`` to ``true``. + | For items with ``qty`` less than or equal to ``50``, + | update ``restock`` to ``true``. | Read item ``A``. In this sequence: @@ -495,11 +503,13 @@ some situations, but not necessarily in all situations. * - | 1. Write\ :sub:`1` with write concern :writeconcern:`{ w: 1 } <\>` to ``P``\ :sub:`old` | 2. Read\ :sub:`1` with read concern :readconcern:`"local"` to ``S``\ :sub:`1` | 3. Write\ :sub:`2` with write concern :writeconcern:`{ w: 1 } <\>` to ``P``\ :sub:`new` + | | 4. Read\ :sub:`2` with read concern :readconcern:`"local"` to ``S``\ :sub:`3` - | For item ``A``, update ``qty`` to ``50``. | Read item ``A``. - | For items with ``qty`` less than ``50``, update ``reorder`` to ``true``. + | For items with ``qty`` less than or equal to ``50``, + | update ``restock`` to ``true``. | Read item ``A``. .. figure:: /images/causal-rc-local-wc-1.svg @@ -564,11 +574,13 @@ some situations, but not necessarily in all situations. * - | 1. Write\ :sub:`1` with write concern :writeconcern:`"majority"` to ``P``\ :sub:`new` | 2. Read\ :sub:`1` with read concern :readconcern:`"local"` to ``S``\ :sub:`1` | 3. Write\ :sub:`2` with write concern :writeconcern:`"majority"` to ``P``\ :sub:`new` + | | 4. Read\ :sub:`2` with read concern :readconcern:`"local"` to ``S``\ :sub:`3` - | For item ``A``, update ``qty`` to ``50``. | Read item ``A``. - | For items with ``qty`` less than ``50``, update ``reorder`` to ``true``. + | For items with ``qty`` less than or equal to ``50``, + | update ``restock`` to ``true``. | Read item ``A``. .. figure:: /images/causal-rc-local-wc-majority.svg