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

Change rollback_test.js to use failCommand rather than mongobridge

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • ALL
    • 200

      When we restart a node we normally wait for the first connection to that node to be healthy. We do that wait with the unbridged connection. However, the bridge can sometimes become confused during a restart and return a "stale" disconnection to the next command which comes up. We should be able to work around this by, if using a bridged test, making sure the bridged connection works after waiting for the unbridged connection.

      It should be possible to turn this off with an option.

      Edit: It seems like it's not a trivial task to make sure that the bridged connection works after waiting for the unbridged connection, as it would require more work in mongobridge itself. One other solution would be changing the test to use failCommand rather than mongobrige, but this would require more work in the rollback_test.js library to do so.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: