[SERVER-33620] ShardingTest::shardColl should assert enableSharding worked Created: 02/Mar/18  Updated: 29/Oct/23  Resolved: 02/Mar/18

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

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.2
Participants:
Linked BF Score: 0

 Description   

ShardingTest::shardColl will call enableSharding on the database of the given collection if it is not already sharded. It doesn't assert that this worked though, so a failure will lead to the subsequent call to shardCollection to fail with an IllegalOperation error code.



 Comments   
Comment by Githook User [ 02/Mar/18 ]

Author:

{'email': 'jack.mulrow@mongodb.com', 'name': 'Jack Mulrow', 'username': 'jsmulrow'}

Message: SERVER-33620 ShardingTest::shardColl should assert enableSharding worked
Branch: master
https://github.com/mongodb/mongo/commit/f8dac185fa2a4647c71b92cafc42ed6b4f5c7468

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