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

convert stepdown_killop.js to use fail point instead of bridging

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.2.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • RPL A (10/09/15), Repl B (10/30/15)

      On certain platforms, stepdown_killop.js fails while isolating the secondary node due to instability of the mongobridge tool on that platform.

      This test does not require the use of mongobridge. Replacing its use with a fail point that suspends oplog application will still allow us to test the desired functionality (killing a step down operation while the primary is waiting for secondaries to catch up) while making the test run a lot faster.

      ------

      e07c554c6a OS X 10.8 DEBUG replicasets_WT

      https://evergreen.mongodb.com/task/mongodb_mongo_master_osx_108_debug_replicasets_WT_e07c554c6a5fa62bb1cfc8dfa3f3c02759674637_15_08_24_19_42_20

      (1st execution)

      https://logkeeper.mongodb.org/build/55db933d90413011a28aee7b/test/55dba4a490413011a28b6f6c

      	
      [js_test:stepdown_killop] 2015-08-24T19:12:57.272-0400  m31000| 2015-08-24T19:12:57.270-0400 W NETWORK  [ReplExecNetThread-0] Failed to connect to 208.52.190.128:31005, reason: errno:61 Connection refused
      [js_test:stepdown_killop] 2015-08-24T19:12:57.273-0400  m31000| 2015-08-24T19:12:57.271-0400 I REPL     [ReplicationExecutor] Error in heartbeat request to mci-osx108-2.build.10gen.cc:31005; HostUnreachable couldn't connect to server mci-osx108-2.build.10gen.cc:31005, connection attempt failed
      [js_test:stepdown_killop] 2015-08-24T19:12:57.273-0400  m31000| 2015-08-24T19:12:57.271-0400 W NETWORK  [ReplExecNetThread-5] Failed to connect to 208.52.190.128:31004, reason: errno:61 Connection refused
      [js_test:stepdown_killop] 2015-08-24T19:12:57.273-0400  m31000| 2015-08-24T19:12:57.271-0400 I REPL     [ReplicationExecutor] Error in heartbeat request to mci-osx108-2.build.10gen.cc:31004; HostUnreachable couldn't connect to server mci-osx108-2.build.10gen.cc:31004, connection attempt failed
      [js_test:stepdown_killop] 2015-08-24T19:12:57.273-0400  m31000| 2015-08-24T19:12:57.271-0400 I REPL     [ReplicationExecutor] can't see a majority of the set, relinquishing primary
      [js_test:stepdown_killop] 2015-08-24T19:12:57.273-0400  m31000| 2015-08-24T19:12:57.271-0400 I REPL     [ReplicationExecutor] Stepping down from primary in response to heartbeat
      [js_test:stepdown_killop] 2015-08-24T19:12:57.274-0400  m31000| 2015-08-24T19:12:57.271-0400 I REPL     [replExecDBWorker-0] transition to SECONDARY
      

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: