-
Notifications
You must be signed in to change notification settings - Fork 55
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
Adding placements to partition table #2464
Conversation
7634241
to
528f9c3
Compare
53bfd34
to
6a7bdbe
Compare
f9f124b
to
7c71a42
Compare
f5bd595
to
0286b87
Compare
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.
Thanks for introducing the ReplicaGroup
@muhamadazmy. The changes look good to me :-) I had a suggestion to rename ReplicaGroup
into something like PartitionPlacement
to start with the renaming process. One additional question was around the equality definition of ReplicaGroup
. I've seen that in Partition
you use a different definition than what PartialEq
gives us. Should this be aligned and documented?
Thank you @tillrohrmann for your very insightful review and comments. I totally agree over the rename and the implementation of PartialEq for the |
f3e6860
to
49bde5f
Compare
Summary: Partition table now includes the placement of each partition. PartitionPlacement, representing the set of nodes where the partition should run, with the first node in the group designated as the leader.
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.
LGTM. +1 for merging :-)
Adding placements to partition table
Summary:
Partition table now includes the placement of each partition. PartitionPlacement, representing the set of nodes where the partition should run, with the first node in the group designated as the leader.
Stack created with Sapling. Best reviewed with ReviewStack.