[2020/03/05 10:50:04.302] ERROR [0.320s]: test_transactions (test_examples.TestTransactionExamples) [2020/03/05 10:50:04.302] ---------------------------------------------------------------------- [2020/03/05 10:50:04.302] Traceback (most recent call last): [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/test/__init__.py", line 447, in wrap [2020/03/05 10:50:04.302] return f(*args, **kwargs) [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/test/test_examples.py", line 902, in test_transactions [2020/03/05 10:50:04.302] update_employee_info(session) [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/test/test_examples.py", line 877, in update_employee_info [2020/03/05 10:50:04.302] session=session) [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/pymongo/collection.py", line 1020, in update_one [2020/03/05 10:50:04.302] hint=hint, session=session), [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/pymongo/collection.py", line 866, in _update_retryable [2020/03/05 10:50:04.302] _update, session) [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/pymongo/mongo_client.py", line 1493, in _retryable_write [2020/03/05 10:50:04.302] return self._retry_with_session(retryable, func, s, None) [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/pymongo/mongo_client.py", line 1386, in _retry_with_session [2020/03/05 10:50:04.302] return func(session, sock_info, retryable) [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/pymongo/collection.py", line 862, in _update [2020/03/05 10:50:04.302] retryable_write=retryable_write) [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/pymongo/collection.py", line 832, in _update [2020/03/05 10:50:04.302] retryable_write=retryable_write).copy() [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/pymongo/pool.py", line 604, in command [2020/03/05 10:50:04.302] user_fields=user_fields) [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/pymongo/network.py", line 152, in command [2020/03/05 10:50:04.302] parse_write_concern_error=parse_write_concern_error) [2020/03/05 10:50:04.302] File "/data/mci/dbb44182c4c9ced8db991d2d97b81a75/src/pymongo/helpers.py", line 161, in _check_command_response [2020/03/05 10:50:04.302] raise OperationFailure(msg % errmsg, code, response) [2020/03/05 10:50:04.302] OperationFailure: Transaction 58ec29bc-f257-43ce-81ed-2db10a7da770:3 was aborted on statement 0 due to: an error from cluster data placement change :: caused by :: Encountered error from localhost:27217 during a transaction :: caused by :: sharding status of collection hr.employees is not currently available for filtering and needs to be recovered from the config server
Server version: v4.5.0-32-gfceaea1
- depends on
-
SERVER-46679 Transaction test fails with Stale Shard Version error on 4.5
- Closed
- is caused by
-
SERVER-45779 Throw Stale Shard Version when collection is unknown on getOwnershipFilter
- Closed
- is related to
-
SERVER-46679 Transaction test fails with Stale Shard Version error on 4.5
- Closed