-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
ALL
-
v4.9
-
Repl 2021-04-19, Repl 2021-05-03
Based on the EVG patch builds for SERVER-52713, tenant migration recipient does not retry on InvalidSyncSource error as the error message indicates.
[j4:rs1:n1] | 2021-03-16T03:30:05.500+00:00 E REPL 4881204 [TenantMigrationRecipientService-2] "Recipient migration service oplog fetcher failed","attr":{"tenantId":"tenantMigrationTenantId","migrationId":{"uuid":{"$uuid":"5b964868-1852-4fca-9c2f-e82f58cb3a4e"}},"error":{"code":119,"codeName":"InvalidSyncSource","errmsg":"Sync source's last applied OpTime { ts: Timestamp(1615865404, 3), t: 18 } is older than our last fetched OpTime { ts: Timestamp(1615865404, 5), t: -1 }. Choosing new sync source."}} [j4:rs1:n1] | 2021-03-16T03:30:05.500+00:00 I REPL 4881207 [TenantMigrationRecipientService-7] "Migration completed with both error and interrupt","attr":{"tenantId":"tenantMigrationTenantId","migrationId":{"uuid":{"$uuid":"5b964868-1852-4fca-9c2f-e82f58cb3a4e"}},"completionStatus":{"code":6,"codeName":"HostUnreachable","errmsg":"network error while attempting to run command 'listDatabases' on host 'localhost:21001' "},"interruptStatus":{"code":119,"codeName":"InvalidSyncSource","errmsg":"Sync source's last applied OpTime { ts: Timestamp(1615865404, 3), t: 18 } is older than our last fetched OpTime { ts: Timestamp(1615865404, 5), t: -1 }. Choosing new sync source."}} [j4:rs1:n1] | 2021-03-16T03:30:05.500+00:00 I REPL 4878501 [TenantMigrationRecipientService-7] "Tenant migration recipient instance: Data sync completed.","attr":{"tenantId":"tenantMigrationTenantId","migrationId":{"uuid":{"$uuid":"5b964868-1852-4fca-9c2f-e82f58cb3a4e"}},"error":{"code":119,"codeName":"InvalidSyncSource","errmsg":"Sync source's last applied OpTime { ts: Timestamp(1615865404, 3), t: 18 } is older than our last fetched OpTime { ts: Timestamp(1615865404, 5), t: -1 }. Choosing new sync source."}} buildscripts.resmokelib.errors.ServerFailure: Tenant migration with donor primary on port 21002 of replica set 'rs0' has aborted due to an error: {'state': 'aborted', 'abortReason': {'code': 119, 'codeName': 'InvalidSyncSource', 'errmsg': "Tenant migration recipient command failed :: caused by :: Sync source's last applied OpTime { ts: Timestamp(1615865404, 3), t: 18 } is older than our last fetched OpTime { ts: Timestamp(1615865404, 5), t: -1 }. Choosing new sync source."}, 'ok': 1.0, '$clusterTime': {'clusterTime': Timestamp(1615865405, 930), '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(1615865405, 930)}
- is depended on by
-
SERVER-52713 [testing] Add stepdown/kill/terminate to tenant_migration_jscore_passthrough
- Closed
- related to
-
SERVER-56258 Complete TODO listed in SERVER-55355
- Closed