Skip to content

Conversation

@javanna
Copy link
Member

@javanna javanna commented Jan 21, 2019

Replace failure.get().addSuppressed with failure.accumulateAndGet() in GroupedActionListener, also add a test for concurrent incoming failures.

Also add a test for concurrent incoming failures
@javanna javanna added >bug :Core/Infra/Core Core issues without another label v7.0.0 v6.7.0 labels Jan 21, 2019
@javanna javanna requested a review from s1monw January 21, 2019 10:09
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@javanna
Copy link
Member Author

javanna commented Jan 21, 2019

Actually, failure.get().addSuppressed is fine as-is, as we keep on adding to the same exception (the exception in the reference never changes once set) and addSuppressed is synchronized. I may just merge the test and revert the change to GroupedActionListener.

@javanna javanna added >enhancement and removed >bug labels Jan 21, 2019
@javanna
Copy link
Member Author

javanna commented Jan 23, 2019

retest this please

@javanna
Copy link
Member Author

javanna commented Jan 25, 2019

run elasticsearch-ci/1

@javanna javanna merged commit 42eec55 into elastic:master Jan 29, 2019
@javanna javanna removed the v6.7.0 label Jan 29, 2019
jasontedor pushed a commit to jasontedor/elasticsearch that referenced this pull request Mar 8, 2020
@jasontedor
Copy link
Member

I backported this to 6.8 since I applied a bug fix on top of it in #53262.

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.

5 participants