-
Notifications
You must be signed in to change notification settings - Fork 101
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
IGNITE-23466 Rework DZM internals #5092
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to me that current implementation breaks contract of dataNodes
method. Most part of basic tests from DistributionZoneCausalityDataNodesTest
do not pass.
I would start review when at least DistributionZoneCausalityDataNodesTest
is green on TC, but better to have all tests from distributionzones
module become green
* @param <T> First object. | ||
* @param <V> Second object. | ||
*/ | ||
public class Pair<T, V> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This the 4th Pair class in our codebase, while we have IgniteBiTuple
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://issues.apache.org/jira/browse/IGNITE-23466
Removed causality data nodes engine and distribution zone manager logic based on topology augmentation map. Basics of causality data nodes contract is preserved, according to tests.
Added DataNodesManager as a part of distribution zone manager and all logic related on data nodes calculation for distribution zones is now there. Short summary:
For details, see DataNodesManager class and its javadocs.