Replica set members create/hold first connection to themselves

XMLWordPrintableJSON

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

      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.

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

              Created:
              Updated:
              Resolved: