Work on the partition assignation algorithm #266

Merged
lx merged 4 commits from bug/layout into main 2022-03-24 14:30:08 +00:00
Owner

Initially, this PR proposes a small change that helps ensure that nodes for each partition are spread over all datacenters, a property that wasn't ensured previously when going from a 2 DC deployment to a 3 DC deployment. That code was used to fix Deuxfleurs' production cluster which had this exact issue. However, the whole partition assignation algorithm is wanky and needs deep thought to be fixed.

Initially, this PR proposes a small change that helps ensure that nodes for each partition are spread over all datacenters, a property that wasn't ensured previously when going from a 2 DC deployment to a 3 DC deployment. That code was used to fix Deuxfleurs' production cluster which had this exact issue. However, the whole partition assignation algorithm is wanky and needs deep thought to be fixed.
lx added 1 commit 2022-03-15 10:40:28 +00:00
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
a0ec6c49be
Small change to partition assignation algorithm
This change helps ensure that nodes for each partition are spread
over all datacenters, a property that wasn't ensured previously
when going from a 2 DC deployment to a 3 DC deployment
lx added 2 commits 2022-03-16 13:43:29 +00:00
lx force-pushed bug/layout from 73e891cf5c to a74b6baa3b 2022-03-17 15:44:40 +00:00 Compare
lx force-pushed bug/layout from a74b6baa3b to 509d256c58 2022-03-24 14:27:19 +00:00 Compare
Author
Owner

We will probably soon have an algorithm with a perfect optimization solution for the partition assignation problem. In the meantime, this PR helps the current algorithm better equilibrate the number of partitions assigned to nodes within a zone.

We will probably soon have an algorithm with a perfect optimization solution for the partition assignation problem. In the meantime, this PR helps the current algorithm better equilibrate the number of partitions assigned to nodes within a zone.
lx changed title from WIP: Work on the partition assignation algorithm to Work on the partition assignation algorithm 2022-03-24 14:30:03 +00:00
lx merged commit 509d256c58 into main 2022-03-24 14:30:08 +00:00
Sign in to join this conversation.
No description provided.