[SERVER-31529] Add TestData.skipCheckingUUIDsConsistentAcrossCluster = true to key_rotation.js Created: 12/Oct/17  Updated: 30/Oct/23  Resolved: 16/Oct/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.0-rc1

Type: Bug Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-31525 shard_insert_getlasterror_w2.js shoul... Closed
is related to SERVER-31583 Update ShardingTest._connections when... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2017-10-23
Participants:
Linked BF Score: 0

 Description   

checkUUIDsConsistentAcrossCluster uses ShardingTest._connections to get shard primary targeting information. It directly calls listCollection against what it thinks in the shard primary, here, but because key_rotation.js restarts a shard replica set directly, here, ShardingTest._connections probably isn't getting updated with the latest information.

ShardingTest has some restart functions – restartMongos, restartMongod, etc. – that additionally update ShardingTest._connections, but it doesn't have any restartReplicaSet functionality that would update ShardingTest._connections.

TestData.skipCheckingUUIDsConsistentAcrossCluster = true; should be added to key_rotation.js.



 Comments   
Comment by Githook User [ 16/Oct/17 ]

Author:

{'email': 'dianna.hohensee@10gen.com', 'name': 'Dianna Hohensee', 'username': 'DiannaHohensee'}

Message: SERVER-31525 SERVER-31529 add skipCheckingUUIDsConsistentAcrossCluster to key_rotation.js and shard_insert_getlasterror_w2.js
Branch: master
https://github.com/mongodb/mongo/commit/bad24a802403e3d2d36e4190a9efc117e9afcf7e

Generated at Thu Feb 08 04:27:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.