Skip to content

Fix X-Pack SchedulerEngine Shutdown (#48951)#49054

Merged
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:48951-7.x
Nov 13, 2019
Merged

Fix X-Pack SchedulerEngine Shutdown (#48951)#49054
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:48951-7.x

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

We can have a race here where scheduleNextRun executes concurrently to stop
and so we run into a RejectedExecutionException that we don't catch and thus it
fails tests.
=> Fixed by ignoring these so long as they coincide with a scheduler shutdown

backport of #48951

We can have a race here where `scheduleNextRun` executes concurrently to `stop`
and so we run into a `RejectedExecutionException` that we don't catch and thus it
fails tests.
=> Fixed by ignoring these so long as they coincide with a scheduler shutdown
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Features)

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Jenkins run elasticsearch-ci/2 (unrelated docker compose-up failure)

@original-brownbear original-brownbear merged commit 25e05b0 into elastic:7.x Nov 13, 2019
@original-brownbear original-brownbear deleted the 48951-7.x branch November 13, 2019 21:06
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.

2 participants