Skip to content

Discovery server keeps duplicate entries #8482

Closed

Description

@bt90

The global discovery server has each global tcp:// address of my node twice:

{
   "seen":"2022-08-02T20:12:05.432835713Z",
   "addresses":[
      "quic://192.168.178.20:22001",
      "quic://80.128.xxx.xxx:22001",
      "quic://[2003:da:xxxx:xxxx:xxxx:xxxx:xxxx:f7a0]:22001",
      "quic://[2003:da:xxxx:xxxx:xxxx:xxxx:xxxx:ddc5]:22001",
      "tcp://192.168.178.20:22001",
      "tcp://80.128.xxx.xxx:22001",
      "tcp://80.128.xxx.xxx:22001",
      "tcp://[2003:da:xxxx:xxxx:xxxx:xxxx:xxxx:f7a0]:22001",
      "tcp://[2003:da:xxxx:xxxx:xxxx:xxxx:xxxx:f7a0]:22001",
      "tcp://[2003:da:xxxx:xxxx:xxxx:xxxx:xxxx:ddc5]:22001",
      "tcp://[2003:da:xxxx:xxxx:xxxx:xxxx:xxxx:ddc5]:22001"
   ]
}

Activity

  1. added
    bug
    needs-triage
    on Aug 2, 2022
  2. bt90 commented on Sep 6, 2023

    @bt90
    ContributorAuthor

    We should remove duplicates here:

    func fixupAddresses(remote *net.TCPAddr, addresses []string) []string {

  3. added a commit that references this issue on Sep 6, 2023
    06ac10e
  4. added this to the v1.25.0 milestone on Sep 6, 2023
  5. added a commit that references this issue on Oct 15, 2023
    917698d
  6. added
    frozen-due-to-age
    on Sep 5, 2024
  7. locked and limited conversation to collaborators on Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-ageneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions