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

Evaluate the usefulness of convert_to_and_from_sharded.js in a shard-as-replica-set testing environment

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: 4.0.5, 4.1.6
    • Component/s: Sharding
    • None
    • Sharding
    • Fully Compatible

      The convert_to_and_from_sharded.js test exercises the scenario of adding a standalone shard to a cluster. The test adds the shard, moves chunks to the shard, then removes the shard, draining it completely. With the transition to shards as replica sets starting in 4.0, it may not be worth keeping this test.

      Additionally, any code changes that may rely on a shard acting as a replica set may cause this test to break. Getting rid of or altering this test to conform with current supported practices will prevent future test problems.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: