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

connection pool should check if a connection has been closed remotely before using it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc3
    • Component/s: Networking
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platform C (11/20/15)
    • Linked BF Score:
      0

      Description

      failures

      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.598+0000 d20510| 2015-10-22T21:06:15.597+0000 I REPL     [conn1] replSetReconfig admin command received from client
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.598+0000 d20511| 2015-10-22T21:06:15.598+0000 I NETWORK  [initandlisten] connection accepted from 10.229.60.131:39471 #21 (5 connections now open)
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.599+0000 d20510| 2015-10-22T21:06:15.599+0000 I REPL     [conn1] replSetReconfig config object with 2 members parses ok
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.599+0000 d20511| 2015-10-22T21:06:15.599+0000 I NETWORK  [conn21] end connection 10.229.60.131:39471 (4 connections now open)
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.599+0000 d20510| 2015-10-22T21:06:15.599+0000 W REPL     [ReplicationExecutor] Failed to complete heartbeat request to ip-10-229-60-131:20511; HostUnreachable End of file
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.600+0000 d20510| 2015-10-22T21:06:15.599+0000 E REPL     [conn1] replSetReconfig failed; NodeNotFound Quorum check failed because not enough voting nodes responded; required 2 but only the following 1 voting nodes responded: ip-10-229-60-131:20510; the following nodes did not respond affirmatively: ip-10-229-60-131:20511 failed with End of file
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.600+0000 assert: command failed: {
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.600+0000 	"ok" : 0,
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.601+0000 	"errmsg" : "Quorum check failed because not enough voting nodes responded; required 2 but only the following 1 voting nodes responded: ip-10-229-60-131:20510; the following nodes did not respond affirmatively: ip-10-229-60-131:20511 failed with End of file",
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.601+0000 	"code" : 74
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.601+0000 } : undefined
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.601+0000 _getErrorWithCode@src/mongo/shell/utils.js:23:13
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.601+0000 doassert@src/mongo/shell/assert.js:13:14
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.601+0000 assert.commandWorked@src/mongo/shell/assert.js:259:5
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.602+0000 reconfig@jstests/replsets/rslib.js:109:9
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.602+0000 @jstests/sharding/mongos_no_replica_set_refresh.js:34:1
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.602+0000 @jstests/sharding/mongos_no_replica_set_refresh.js:3:2
      [js_test:mongos_no_replica_set_refresh] 2015-10-22T21:06:15.602+0000 
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              adam.midvidy Adam Midvidy
              Reporter:
              scotthernandez Scott Hernandez
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: