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

Replica set members create/hold first connection to themselves

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • ALL

    Description

      When you start a replica set member it creates a connection to itself. Not sure if this is an active connection, and/or intentional.

      db.currentOp(true) entry:

      		{
      			"opid" : 8,
      			"active" : false,
      			"op" : "query",
      			"ns" : "local.system.replset",
      			"query" : {
      				"count" : "system.replset",
      				"query" : {
      					
      				}
      			},
      			"client" : "192.168.1.100:57714",
      			"desc" : "conn1",
      			"threadId" : "0x1056c9000",
      			"connectionId" : 1,
      			"waitingForLock" : false,
      			"numYields" : 0
      		},

      Before 2.1+ it seems to connect from localhost, but now a public address. Not sure if this is intentional either.

      Attachments

        Activity

          People

            Unassigned Unassigned
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: