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

HDDS-9439. Refactor sortDatanodes to OM #5428

Closed
wants to merge 12 commits into from

Conversation

tanvipenumudy
Copy link
Contributor

What changes were proposed in this pull request?

[To be merged post PR #5391]

  • The NetworkTopology calculation can be moved to OM by utilizing the network topology file fetched from SCM (HDDS-9389. Introduce new API and cache refresh for serving network topology schema to OM)
  • On top of the NetworkTopology object obtained, NetworkTopology#sortByDistanceCost would be called.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-9439

How was this patch tested?

Existing test cases should cover the changes.

add initial changes

reposition clusterMap initialization

use getTopology instead of refetch

reposition clusterMap initialization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant