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

ShardingTest::shardColl should assert enableSharding worked

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.3
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.2
    • 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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: