Skip to content

Conversation

@majst01
Copy link
Contributor

@majst01 majst01 commented Aug 16, 2024

During switch describe, which is called from every metal-core every 20 sec, all ips are listed and later filtered by project.
This is a lot of useless data fetched.

This was also found during the dualstack implementation, test was not adopted yet.

TODO:

  • write integration test with real rethinkdb in place which proves correctness

@majst01 majst01 force-pushed the only-fetch-required-ips branch from 08c19ea to cf0190d Compare August 16, 2024 08:43
})
})

ips := make([]metal.IP, 0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ips := make([]metal.IP, 0)
ips := metal.IPs{}

@majst01 majst01 force-pushed the only-fetch-required-ips branch from cf0190d to 711fa33 Compare August 26, 2024 07:53
@github-project-automation github-project-automation bot moved this to Review in Development Jun 5, 2025
@Gerrit91 Gerrit91 removed the status in Development Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants