-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
ALL
-
Repl 2021-03-22
According to the EVG patch builds for SERVER-55157, when the tenant data contains system.views collections, tenant migrations consistently abort due to the error shown below.
{'state': 'aborted', 'abortReason': {'code': 73, 'codeName': 'InvalidNamespace', 'errmsg': "Tenant migration recipient command failed :: caused by :: InvalidNamespace: Error cloning collection 'tenantMigrationTenantId_dbstats_js.system.views' :: caused by :: cannot write to tenantMigrationTenantId_dbstats_js.system.views"}, 'ok': 1.0, '$clusterTime': {'clusterTime': Timestamp(1615478932, 17), 'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'keyId': 0}}, 'operationTime': Timestamp(1615478932, 5)}
This error is thrown by this check here.
- is related to
-
SERVER-55157 Make tenant migration hook throw an error if the migration aborts not because of the failpoint
- Closed