ERROR: Transaction 8233a7f9-23f6-412d-bc76-ce2eacc4c2c8:1 was aborted on statement 3 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 transaction-tests.test is not currently available for filtering and needs to be recovered from the config server (OperationFailure) Traceback (most recent call last): File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/test/__init__.py", line 447, in wrap return f(*args, **kwargs) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/test/__init__.py", line 447, in wrap return f(*args, **kwargs) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/test/__init__.py", line 447, in wrap return f(*args, **kwargs) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/test/test_transactions.py", line 407, in run_scenario self.run_scenario(scenario_def, test) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/test/utils_spec_runner.py", line 576, in run_scenario self.run_test_ops(sessions, collection, test) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/test/utils_spec_runner.py", line 489, in run_test_ops self.run_operations(sessions, collection, test['operations']) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/test/utils_spec_runner.py", line 395, in run_operations result = self.run_operation(sessions, collection, op.copy()) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/test/utils_spec_runner.py", line 342, in run_operation result = cmd(**dict(arguments)) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/pymongo/collection.py", line 501, in bulk_write bulk_api_result = blk.execute(write_concern, session) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/pymongo/bulk.py", line 528, in execute return self.execute_command(generator, write_concern, session) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/pymongo/bulk.py", line 360, in execute_command self.is_retryable, retryable_bulk, s, self) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/pymongo/mongo_client.py", line 1393, in _retry_with_session return func(session, sock_info, retryable) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/pymongo/bulk.py", line 355, in retryable_bulk retryable, full_result) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/pymongo/bulk.py", line 309, in _execute_command result, to_send = bwc.execute(ops, client) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/pymongo/message.py", line 909, in execute result = self.write_command(request_id, msg, to_send) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/pymongo/message.py", line 998, in write_command reply = self.sock_info.write_command(request_id, msg) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/pymongo/pool.py", line 681, in write_command helpers._check_command_response(result) File "/data/mci/6157faf22d2f2dddffa3bb919fb70f66/src/pymongo/helpers.py", line 161, in _check_command_response raise OperationFailure(msg % errmsg, code, response) pymongo.errors.OperationFailure: Transaction 8233a7f9-23f6-412d-bc76-ce2eacc4c2c8:1 was aborted on statement 3 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 transaction-tests.test is not currently available for filtering and needs to be recovered from the config server
- related to
-
SERVER-47809 Transaction fails with StaleConfig inserting into newly created unsharded collection on v4.5.0-920-ge5e378e
- Closed