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

checkReplicatedDataHashes() throws a TypeError when replSetTest uses mongobridge

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.12
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      repro_29641.js

      (function() {
          'use strict';
       
          var testName = "bridge_failure";
          var dbName = "test";
       
          var replTest = new ReplSetTest({name: testName, nodes: 3, useBridge: true});
          var nodes = replTest.nodeList();
          var conns = replTest.startSet();
          replTest.initiate({
              "_id": testName,
              "members": [
                  {"_id": 0, "host": nodes[0]},
                  {"_id": 1, "host": nodes[1]},
                  {"_id": 2, "host": nodes[2]}
              ]
          });
       
          replTest.checkReplicatedDataHashes(testName);
       
      }());
      

      Run with following:

      buildscripts/resmoke.py --suites=replica_sets repro_29641.js --storageEngine=wiredTiger

      Show
      repro_29641.js ( function () { 'use strict' ;   var testName = "bridge_failure" ; var dbName = "test" ;   var replTest = new ReplSetTest({name: testName, nodes: 3, useBridge: true }); var nodes = replTest.nodeList(); var conns = replTest.startSet(); replTest.initiate({ "_id" : testName, "members" : [ { "_id" : 0, "host" : nodes[0]}, { "_id" : 1, "host" : nodes[1]}, { "_id" : 2, "host" : nodes[2]} ] });   replTest.checkReplicatedDataHashes(testName);   }()); Run with following: buildscripts/resmoke.py --suites=replica_sets repro_29641.js --storageEngine=wiredTiger
    • Sprint:
      TIG 2017-07-31, TIG 2017-08-21

      Description

      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.400-0400 2017-06-14T17:37:29.399-0400 E QUERY    [thread1] TypeError: can't redefine non-configurable property "_mongo" :
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 ReplSetTest/this.getHashes@src/mongo/shell/replsettest.js:1083:1
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 checkDBHashesForReplSet@src/mongo/shell/replsettest.js:1278:32
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 ReplSetTest/this.checkReplicaSet@src/mongo/shell/replsettest.js:1158:13
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 ReplSetTest/this.checkReplicatedDataHashes@src/mongo/shell/replsettest.js:1406:9
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 @jstests/replsets/rollback_rename_collection.js:70:5
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 @jstests/replsets/rollback_rename_collection.js:25:2
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.402-0400 failed to load: jstests/replsets/rollback_rename_collection.js
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.402-0400 d20015| 2017-06-14T17:37:29.399-0400 I CONTROL  [signalProcessingThread] got signal 15 (Terminated: 15), will terminate after current cmd ends
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: