-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Component/s: None
-
None
Lead:
POCs:
Summary:
The transaction spec test runner says:
#. For each element in ``outcome``: - If ``name`` is "collection", verify that the test collection contains exactly the documents in the ``data`` array. Ensure this find uses Primary read preference even when the MongoClient is configured with another read preference.
However, when a test configures the client with readConcern=majority and performs a write with w=1, then the subsequent find will run with readConcern=majority and possibly miss the w=1 write depending on the current majority commit point.
To ensure the find remains causally consistent with previous operations we must use "local" read concern while reading the latest data on the primary.
Final Specification:
https://github.com/mongodb/specifications/commit/0b8c2e9cef44848a89ec9b5aceeb3f5382879d46
- depends on
-
PYTHON-1691 Test failure test_transactions_transaction_options_transaction_options_inherited_from_client
- Closed
-
CDRIVER-2901 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed
-
CSHARP-2452 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed
-
GODRIVER-690 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed
-
JAVA-3121 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed
-
MOTOR-294 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed
-
NODE-1793 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed
-
RUBY-1614 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed
-
RUST-95 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed
-
CXX-1704 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed
-
PHPLIB-403 Transaction test runner should use "local" read concern when asserting the final collection state
- Closed