Skip to content

Relax Failure Type Assertion in TransportWriteAction #44137

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

Closed
wants to merge 1 commit into from

Conversation

original-brownbear
Copy link
Member

@ywelsch can you take a look here? It is not clear to me why we need that type assertion since we could theoretically run into all kinds of IOExceptions during the replica action?

* Other IOException during the replica write are simulated in the test
(`SearchWithRandomExceptionsIT`) and seem possible but will trip the assertion here -> removed it
* Closes elastic#40435
@original-brownbear original-brownbear added >test Issues or PRs that are addressing/adding tests :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. v8.0.0 v7.4.0 labels Jul 9, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@original-brownbear
Copy link
Member Author

Closing this after talking to Nhat I understand this better now, still the assertion here and the fact that the IO exception is passed as a result is what's breaking the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. >test Issues or PRs that are addressing/adding tests v7.4.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] SearchWithRandomExceptionsIT timeout
3 participants