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

drop_connections_replSet.js intermittent failure

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.8
    • Affects Version/s: 4.1.7
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2019-01-28, Repl 2019-02-11
    • 35

      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);
      

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

              Created:
              Updated:
              Resolved: