Skip to content

Coordinator fix balance to try to move max segments instead of up to max segments#5927

Merged
gianm merged 3 commits intoapache:masterfrom
clintropolis:coordinator-unmoved-fix
Jul 4, 2018
Merged

Coordinator fix balance to try to move max segments instead of up to max segments#5927
gianm merged 3 commits intoapache:masterfrom
clintropolis:coordinator-unmoved-fix

Conversation

@clintropolis
Copy link
Copy Markdown
Member

Due to behavior of CostBalancerStrategy.pickSegmentToMove potentially returning null for a segment to move, DruidCoordinatorBalancer may not attempt to move maxSegmentsToMove every balancer run, also throwing off unmoved tracking and missing out on No good moves... log messages. Balancer will now always attempt to move maxSegmentsToMove ensuring that moved + unmoved add up.

@jihoonson jihoonson added this to the 0.12.2 milestone Jul 3, 2018
@gianm gianm merged commit d5a3871 into apache:master Jul 4, 2018
gianm pushed a commit to implydata/druid-public that referenced this pull request Jul 5, 2018
…max segments (apache#5927)

* fix move to try to move max segments instead of "up to" max segments

* fix

* fix oops
jihoonson pushed a commit to jihoonson/druid that referenced this pull request Jul 7, 2018
…max segments (apache#5927)

* fix move to try to move max segments instead of "up to" max segments

* fix

* fix oops
gianm added a commit to implydata/druid-public that referenced this pull request Jul 9, 2018
@gianm gianm removed this from the 0.12.2 milestone Jul 9, 2018
@gianm
Copy link
Copy Markdown
Contributor

gianm commented Jul 9, 2018

Moved out of 0.12.2 due to discussion on #5974 and #5981.

clintropolis added a commit to implydata/druid-public that referenced this pull request Jul 18, 2018
…max segments (apache#5927)

* fix move to try to move max segments instead of "up to" max segments

* fix

* fix oops
@clintropolis clintropolis deleted the coordinator-unmoved-fix branch August 6, 2018 21:30
@dclim dclim added this to the 0.13.0 milestone Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants