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

drop_connections_replSet.js intermittent failure

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.8
    • 4.1.7
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-01-28, Repl 2019-02-11
    • 35

    Description

      Seen rarely, the first assert in this block fails, because the number of available connections to the removed secondary is 0, not 1:

      assert.eq(1, primary.adminCommand({connPoolStats: 1}).hosts[memberHost].available);
      assert.commandWorked(primary.adminCommand({dropConnections: 1, hostAndPort: [memberHost]}));
      assert.eq(0, primary.adminCommand({connPoolStats: 1}).hosts[memberHost].available);
      

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: