Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33620

ShardingTest::shardColl should assert enableSharding worked

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v3.2
    • 0

      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.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: