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

Improve shard_aware_init.js run time

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.3.4
    • Sharding
    • Sharding 2017-01-02

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: