Skip to content

Conversation

@ywelsch
Copy link
Contributor

@ywelsch ywelsch commented Jan 14, 2020

The logic in AsyncLucenePersistedState was flawed, unexpectedly queuing up two update tasks in parallel.

Marked as non-issue as it's non-released code.

@ywelsch ywelsch added >non-issue :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v8.0.0 v7.6.0 labels Jan 14, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Cluster Coordination)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

Could we also assert threadPoolExecutor.isShutdown() in onRejection()?

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

LGTM

@ywelsch
Copy link
Contributor Author

ywelsch commented Jan 14, 2020

Could we also assert threadPoolExecutor.isShutdown() in onRejection()?

yes, I've also removed the try/catch block (it's not needed)

@ywelsch ywelsch merged commit b146740 into elastic:master Jan 14, 2020
ywelsch added a commit that referenced this pull request Jan 14, 2020
The logic in AsyncLucenePersistedState was flawed, unexpectedly queuing up two update tasks
in parallel.
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
The logic in AsyncLucenePersistedState was flawed, unexpectedly queuing up two update tasks
in parallel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >non-issue v7.6.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants