ShardingTest::shardColl should assert enableSharding worked

XMLWordPrintableJSON

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

      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
              Reporter:
              Jack Mulrow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: