Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: replace tree #298

Open
maksymvavilov opened this issue Nov 7, 2024 · 1 comment
Open

Improvement: replace tree #298

maksymvavilov opened this issue Nov 7, 2024 · 1 comment

Comments

@maksymvavilov
Copy link
Contributor

We have a tree tooling to deal with endpoints. Since we got rid of the ACM, endpoints on the record will always form a tree with a single branch. It makes no sense to overcomplicate the logic that deals with endpoints.
The only scenario when the tree is useful is if we parse endpoints from a zone (that includes endpoints from other controllers) but it seems redundant: we should trust other controllers to keep their chains linked.
Replacing the tree with a leaf search should suffice.

@maksymvavilov
Copy link
Contributor Author

It depends on #293 as we might be using the tree properly after it is done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant