[SERVER-52931] [Resharding] Verify, in the resharding test fixture, that the collection with a non-original UUID exists on recipient shards after resharding completes Created: 18/Nov/20  Updated: 29/Oct/23  Resolved: 12/Jan/21

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

Type: Task Priority: Major - P3
Reporter: Blake Oler Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: PM-234-T-lifecycle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-51130 Implement onReshardingFieldsChanges f... Closed
depends on SERVER-51131 Implement RecipientStateMachine::onR... Closed
depends on SERVER-52742 Ensure both donorFields and recipient... Closed
depends on SERVER-52747 Implement rename collection functiona... Closed
depends on SERVER-52797 Change resharding shard refresh code ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-01-25
Participants:
Story Points: 1

 Description   

There's a separate data consistency check we already have implement to verify the config.collections info is consistent with listCollections on the shards so the combination of knowing the collection exists with a new UUID in combination with the title is sufficient.



 Comments   
Comment by Githook User [ 12/Jan/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-52931 Assert collection exists on recipients in ReshardingTest.
Branch: master
https://github.com/mongodb/mongo/commit/95763375413b2e7682979d4dad49bc28ae5fe97f

Comment by Max Hirschhorn [ 26/Dec/20 ]

Change reshard_collection_basic.js to verify that the collection has been renamed, once the depended tickets are complete.

I feel like coverage of the temporary resharding collection being renamed is provided by a combination of https://github.com/mongodb/mongo/blob/dcaaf0305d3b65b023a84e9ac7ac92f8649b07de/jstests/sharding/libs/resharding_test_fixture.js#L224-L227 and the check_uuids_consistent_across_cluster.js hook. I'm not sure there's much additional value in reshard_collection_basic.js being updated. I think reshard_collection_basic.js could instead focus on the different syntax options for the reshardCollection command.

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