Skip to content

Make the ILM Move to Error Step Batched#85565

Merged
original-brownbear merged 6 commits intoelastic:masterfrom
original-brownbear:81880
Apr 1, 2022
Merged

Make the ILM Move to Error Step Batched#85565
original-brownbear merged 6 commits intoelastic:masterfrom
original-brownbear:81880

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

Simple solution by just moving this to the infrastructure we already have for the other
step tasks. There might be optimizations here still but this should be a big enough improvement
in the short term for all practical cases.

closes #81880

Simple solution by just moving this to the infrastructure we already have for the other
step tasks. There might be optimizations here still but this should be a big enough improvement
in the short term for all practical cases.

closes #81880
@original-brownbear original-brownbear added >bug :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. v8.3.0 labels Mar 31, 2022
@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Mar 31, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @original-brownbear, I've created a changelog YAML for you.

logger.debug(messageSupplier, e);
} else {
logger.error(messageSupplier, e);
assert false : new AssertionError("unexpected exception", e);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I honestly don't remember or know why we have this assert, but are we okay dropping it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh no we shouldn't my bad ... will revert in a second. I believe we added this because we had some NPE bug in the move to error logic which caused us to the underlying error (it's been a while but it was something along those lines).
Thanks so much for spotting this!

Copy link
Copy Markdown
Member

@dakrone dakrone 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!

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Jenkins run elasticsearch-ci/bwc (Jenkins issue)

@original-brownbear
Copy link
Copy Markdown
Contributor Author

@elasticmachine update branch (there's some BwC serialization failure ...)

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Npnp +Thanks Lee!

@original-brownbear original-brownbear merged commit 780b110 into elastic:master Apr 1, 2022
@original-brownbear original-brownbear deleted the 81880 branch April 1, 2022 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v8.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Batch up failure-related ILM master tasks

4 participants