Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

In #48392 we added a second computation of the sizes of the relocating shards
in canRemain() but passed the wrong value for subtractLeavingShards. This
fixes that. It also removes some unnecessary logging in a test case added in
the same commit.

In elastic#48392 we added a second computation of the sizes of the relocating shards
in `canRemain()` but passed the wrong value for `subtractLeavingShards`. This
fixes that. It also removes some unnecessary logging in a test case added in
the same commit.
@DaveCTurner DaveCTurner added >bug :Distributed Coordination/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) v8.0.0 v7.6.0 labels Oct 23, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Allocation)

@DaveCTurner
Copy link
Contributor Author

Silly mistake. Only affects 7.6 and master, it was noticed and fixed in the backport to 7.5 already.

@DaveCTurner DaveCTurner requested a review from ywelsch October 23, 2019 17:52
Copy link
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DaveCTurner DaveCTurner merged commit 668919f into elastic:master Oct 24, 2019
@DaveCTurner DaveCTurner deleted the 2019-10-23-fixup-48392 branch October 24, 2019 07:43
DaveCTurner added a commit that referenced this pull request Oct 24, 2019
In #48392 we added a second computation of the sizes of the relocating shards
in `canRemain()` but passed the wrong value for `subtractLeavingShards`. This
fixes that. It also removes some unnecessary logging in a test case added in
the same commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) >non-issue v7.6.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants