Skip to content
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

Log ShardLockObtainFailedException if can't lock shards #110125

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

arteam
Copy link
Contributor

@arteam arteam commented Jun 25, 2024

Currently, we only log the fact that were not able to lock shards with the max timeout, but there's no guarantee ShardLockObtainFailedException was thrown due to the timeout.

@arteam arteam added >non-issue :Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. labels Jun 25, 2024
Currently, we only log the fact that were not able to lock shards with the max
timeout, but there's no guarantee `ShardLockObtainFailedException` was thrown due
to the timeout.

See #1954
@arteam arteam force-pushed the log-shard-lock-obtain-failed-exception branch from 4bc24dc to 7524096 Compare June 25, 2024 09:20
@arteam arteam marked this pull request as ready for review June 25, 2024 09:55
@arteam arteam requested a review from fcofdez June 25, 2024 09:55
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team label Jun 25, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Contributor

@fcofdez fcofdez left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@arteam arteam merged commit fca769f into main Jun 25, 2024
16 checks passed
@arteam arteam deleted the log-shard-lock-obtain-failed-exception branch June 25, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. >non-issue Team:Distributed Meta label for distributed team v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants