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

Improve shard_aware_init.js run time

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.3.4
    • Component/s: Sharding
    • Labels:
    • Sharding 2017-01-02

      The test intentionally modifies the shardIdentity document to an invalid one and tries to restart the shard. The mongod process is expected to abort here:

      https://github.com/mongodb/mongo/blob/r3.3.4/jstests/sharding/shard_aware_init.js#L64

      However, the shell process does not have a configurable timeout and waits for 10 minutes until it times out:

      https://github.com/mongodb/mongo/blob/r3.3.4/src/mongo/shell/servers.js#L918

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: