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

Only delete maxTransactionLockRequestTimeoutMillis in ShardingTest if TestData exists

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • Fully Compatible

      https://github.com/10gen/mongo/blob/07484165776761fd3d853ea9e997de81727b85e7/jstests/libs/shardingtest.js#L1499

      Otherwise it can throw an undefined error:

      uncaught exception: TypeError: TestData is undefined :
      ShardingTest@/mydata/mongo/jstests/libs/shardingtest.js:1499:17
      

      Easiest way to reproduce this is to run

       let st = new ShardingTest({shards: 1})
      

      On the mongo shell without using resmoke.py

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: