[SERVER-55169] Timeseries bucket collections is expected to fail tenant migration cloner's non-empty id index check Created: 11/Mar/21  Updated: 29/Oct/23  Resolved: 17/Mar/21

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Lingzhi Deng
Resolution: Fixed Votes: 0
Labels: pm-1791_other_required
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-55519 Investigate missing _id index during ... Closed
is related to SERVER-53872 Test migrating a tenant with time ser... Closed
is related to SERVER-55157 Make tenant migration hook throw an e... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2021-03-22
Participants:

 Description   

According to the EVG patch builds forĀ SERVER-55157, when the tenant data contains timeseries bucket collections, tenant migrations consistently abort after failing this check inside TenantMigrationCloner.

'abortReason': {'code': 20, 'codeName': 'IllegalOperation', 'errmsg': "Tenant migration recipient command failed :: caused by :: IllegalOperation: Error cloning collection 'tenantMigrationTenantId_test.system.buckets.timeseries_expire_collmod' :: caused by :: Found empty '_id' index spec but the collection is not specified with 'autoIndexId' as false, tenantId: tenantMigrationTenantId, namespace: tenantMigrationTenantId_test.system.buckets.timeseries_expire_collmod"}, 'ok': 1.0, '$clusterTime': {'clusterTime': Timestamp(1615479460, 14), '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(1615479460, 14)}



 Comments   
Comment by Githook User [ 17/Mar/21 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-55169: Handle timeseries bucket collections in TenantCollectionCloner
Branch: master
https://github.com/mongodb/mongo/commit/77a1e00c536e2f76327bfb96aff1b3323bbfcc5a

Generated at Thu Feb 08 05:35:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.