Skip to content
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

Fix Snapshot Shard Status Request Deduplication #50788

Conversation

original-brownbear
Copy link
Member

The request deduplication didn't actually work for these requests
since they had no equals and hashCode so the deduplicator wouldn't
actually recognize equal requests.

The request deduplication didn't actually work for these requests
since they had no `equals` and `hashCode` so the deduplicator wouldn't
actually recognize equal requests.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@original-brownbear
Copy link
Member Author

Jenkins run elasticsearch-ci/2 (known ILM test failure)

Copy link
Member

@dnhatn dnhatn left a comment

Choose a reason for hiding this comment

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

Good catch. LGTM.

Copy link
Member

@dnhatn dnhatn left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks Armin for an extra iteration :).

@original-brownbear
Copy link
Member Author

Jenkins run elasticsearch-ci/2 (failure is known ILM test failure)

@original-brownbear
Copy link
Member Author

Jenkins run elasticsearch-ci/2 (failure is known ILM test failure again ...)

@original-brownbear
Copy link
Member Author

Thanks Nhat!

@original-brownbear original-brownbear merged commit a7f8409 into elastic:master Jan 10, 2020
@original-brownbear original-brownbear deleted the shard-status-request-dedup branch January 10, 2020 08:32
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Jan 10, 2020
* Fix Snapshot Shard Status Request Deduplication

The request deduplication didn't actually work for these requests
since they had no `equals` and `hashCode` so the deduplicator wouldn't
actually recognize equal requests.
original-brownbear added a commit that referenced this pull request Jan 10, 2020
* Fix Snapshot Shard Status Request Deduplication

The request deduplication didn't actually work for these requests
since they had no `equals` and `hashCode` so the deduplicator wouldn't
actually recognize equal requests.
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
* Fix Snapshot Shard Status Request Deduplication

The request deduplication didn't actually work for these requests
since they had no `equals` and `hashCode` so the deduplicator wouldn't
actually recognize equal requests.
@original-brownbear original-brownbear restored the shard-status-request-dedup branch August 6, 2020 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants