Skip to content

Fix indexing pressure replica rejections logic#60150

Merged
Tim-Brooks merged 1 commit intoelastic:masterfrom
Tim-Brooks:fix_replica_rejection_bug
Jul 27, 2020
Merged

Fix indexing pressure replica rejections logic#60150
Tim-Brooks merged 1 commit intoelastic:masterfrom
Tim-Brooks:fix_replica_rejection_bug

Conversation

@Tim-Brooks
Copy link
Copy Markdown
Contributor

Currently the logic to rejection replica rejections is evaluate before
adding the additional bytes of the current operation. This means that
the first replica operation which should be rejected will be allowed to
proceed. This commit fixes this logic and adds unit level test to ensure
indexing pressure behavior is correct.

Currently the logic to rejection replica rejections is evaluate before
adding the additional bytes of the current operation. This means that
the first replica operation which should be rejected will be allowed to
proceed. This commit fixes this logic and adds unit level test to ensure
indexing pressure behavior is correct.
@Tim-Brooks Tim-Brooks added >bug :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v8.0.0 v7.9.0 v7.10.0 labels Jul 23, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Jul 23, 2020
@Tim-Brooks Tim-Brooks requested a review from ywelsch July 23, 2020 18:37
Copy link
Copy Markdown
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

@Tim-Brooks Tim-Brooks merged commit 096fc5f into elastic:master Jul 27, 2020
Tim-Brooks added a commit that referenced this pull request Jul 27, 2020
Currently the logic to rejection replica rejections is evaluate before
adding the additional bytes of the current operation. This means that
the first replica operation which should be rejected will be allowed to
proceed. This commit fixes this logic and adds unit level test to ensure
indexing pressure behavior is correct.
Tim-Brooks added a commit that referenced this pull request Jul 27, 2020
Currently the logic to rejection replica rejections is evaluate before
adding the additional bytes of the current operation. This means that
the first replica operation which should be rejected will be allowed to
proceed. This commit fixes this logic and adds unit level test to ensure
indexing pressure behavior is correct.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. Team:Distributed Meta label for distributed team. v7.9.0 v7.10.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants